Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ConPNlib_ConPNlib.Examples.Test9.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ConPNlib master/package.mo", uses=false) Using package ConPNlib with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ConPNlib master/package.mo) Running command: "" <> buildModelFMU(ConPNlib.Examples.Test9,fileNamePrefix="ConPNlib_ConPNlib_Examples_Test9",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ConPNlib.Examples.Test9,fileNamePrefix="ConPNlib_ConPNlib_Examples_Test9",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ConPNlib master/package.mo): time 0.006085/0.006085, allocations: 1.365 MB / 16.64 MB, free: 5.168 MB / 13.93 MB Notification: Performance of FrontEnd - loaded program: time 2.336e-05/2.368e-05, allocations: 0 / 23.81 MB, free: 3.652 MB / 13.93 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0008747/0.000933, allocations: 360.3 kB / 24.16 MB, free: 3.316 MB / 13.93 MB Notification: Performance of NFInst.instantiate(ConPNlib.Examples.Test9): time 0.001512/0.002462, allocations: 1.527 MB / 25.69 MB, free: 1.789 MB / 13.93 MB Notification: Performance of NFInst.instExpressions: time 0.001906/0.00439, allocations: 0.895 MB / 26.58 MB, free: 0.8984 MB / 13.93 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005546/0.004971, allocations: 11.94 kB / 26.59 MB, free: 0.8867 MB / 13.93 MB Notification: Performance of NFTyping.typeComponents: time 0.0003605/0.005344, allocations: 107.2 kB / 26.7 MB, free: 0.7812 MB / 13.93 MB Notification: Performance of NFTyping.typeBindings: time 0.001164/0.006525, allocations: 312.2 kB / 27 MB, free: 488 kB / 13.93 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002055/0.006746, allocations: 59.95 kB / 27.06 MB, free: 428 kB / 13.93 MB Notification: Performance of NFFlatten.flatten: time 0.0006083/0.007365, allocations: 0.5836 MB / 27.64 MB, free: 4.48 MB / 18.57 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004059/0.00778, allocations: 296.6 kB / 27.93 MB, free: 4.172 MB / 18.57 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002366/0.008037, allocations: 222.6 kB / 28.15 MB, free: 3.953 MB / 18.57 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003058/0.008351, allocations: 258.2 kB / 28.4 MB, free: 3.699 MB / 18.57 MB Notification: Performance of NFPackage.collectConstants: time 5.776e-05/0.008418, allocations: 24 kB / 28.43 MB, free: 3.676 MB / 18.57 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000474/0.008899, allocations: 227.6 kB / 28.65 MB, free: 3.453 MB / 18.57 MB Notification: Performance of NFScalarize.scalarize: time 0.00016/0.009069, allocations: 147.3 kB / 28.79 MB, free: 3.309 MB / 18.57 MB Notification: Performance of NFVerifyModel.verify: time 0.0002726/0.009351, allocations: 291.7 kB / 29.08 MB, free: 3.016 MB / 18.57 MB Notification: Performance of NFConvertDAE.convert: time 0.000814/0.01017, allocations: 0.7827 MB / 29.86 MB, free: 2.23 MB / 18.57 MB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.01019, allocations: 0 / 29.86 MB, free: 2.23 MB / 18.57 MB Notification: Performance of FrontEnd: time 1.673e-06/0.0102, allocations: 0 / 29.86 MB, free: 2.23 MB / 18.57 MB Notification: Performance of Transformations before backend: time 8.105e-06/0.01021, allocations: 0 / 29.86 MB, free: 2.23 MB / 18.57 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 218 * Number of variables: 218 Notification: Performance of Generate backend data structure: time 0.001191/0.01141, allocations: 0.8533 MB / 30.71 MB, free: 1.316 MB / 18.57 MB Notification: Performance of prepare preOptimizeDAE: time 4.834e-05/0.01146, allocations: 11.5 kB / 30.73 MB, free: 1.309 MB / 18.57 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001759/0.01165, allocations: 143.6 kB / 30.87 MB, free: 1.16 MB / 18.57 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001334/0.01179, allocations: 84 kB / 30.95 MB, free: 1.078 MB / 18.57 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005994/0.01239, allocations: 423.9 kB / 31.36 MB, free: 0.625 MB / 18.57 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.292e-05/0.01248, allocations: 70.34 kB / 31.43 MB, free: 0.5547 MB / 18.57 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000141/0.01262, allocations: 88.36 kB / 31.52 MB, free: 480 kB / 18.57 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009617/0.02225, allocations: 1.223 MB / 32.74 MB, free: 7.172 MB / 18.57 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.066e-05/0.0223, allocations: 0.5156 kB / 32.74 MB, free: 7.172 MB / 18.57 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.37e-05/0.02238, allocations: 39.06 kB / 32.78 MB, free: 7.172 MB / 18.57 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001259/0.02252, allocations: 74.73 kB / 32.85 MB, free: 7.172 MB / 18.57 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001187/0.02371, allocations: 0.8843 MB / 33.74 MB, free: 6.918 MB / 18.57 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002523/0.02624, allocations: 2.421 MB / 36.16 MB, free: 4.676 MB / 18.57 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007137/0.02697, allocations: 0.6542 MB / 36.81 MB, free: 3.977 MB / 18.57 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004005/0.02738, allocations: 377.3 kB / 37.18 MB, free: 3.609 MB / 18.57 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003286/0.02772, allocations: 0.5977 MB / 37.78 MB, free: 2.883 MB / 18.57 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.372e-05/0.02776, allocations: 38.88 kB / 37.82 MB, free: 2.836 MB / 18.57 MB Notification: Performance of pre-optimization done (n=42): time 2.414e-06/0.02776, allocations: 0 / 37.82 MB, free: 2.836 MB / 18.57 MB Notification: Performance of matching and sorting (n=42): time 0.002623/0.03039, allocations: 1.412 MB / 39.23 MB, free: 1.395 MB / 18.57 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.621e-05/0.03048, allocations: 208.2 kB / 39.43 MB, free: 1.145 MB / 18.57 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002452/0.03073, allocations: 314.3 kB / 39.74 MB, free: 0.8281 MB / 18.57 MB Notification: Performance of collectPreVariables (initialization): time 3.649e-05/0.03078, allocations: 37.7 kB / 39.77 MB, free: 0.7852 MB / 18.57 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001611/0.03094, allocations: 341.2 kB / 40.11 MB, free: 468 kB / 18.57 MB Notification: Performance of collectInitialBindings (initialization): time 8.36e-05/0.03103, allocations: 135 kB / 40.24 MB, free: 336 kB / 18.57 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.001e-05/0.03107, allocations: 16 kB / 40.25 MB, free: 320 kB / 18.57 MB Notification: Performance of setup shared object (initialization): time 0.008613/0.03969, allocations: 346.8 kB / 40.59 MB, free: 5.965 MB / 18.57 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006749/0.0404, allocations: 308.6 kB / 40.89 MB, free: 5.965 MB / 18.57 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006307/0.04104, allocations: 457.4 kB / 41.34 MB, free: 5.812 MB / 18.57 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001001/0.04206, allocations: 0.7803 MB / 42.12 MB, free: 5.559 MB / 18.57 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.519e-06/0.04207, allocations: 0 / 42.12 MB, free: 5.559 MB / 18.57 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001673/0.04375, allocations: 1.071 MB / 43.19 MB, free: 5.223 MB / 18.57 MB Notification: Performance of prepare postOptimizeDAE: time 8.919e-05/0.04385, allocations: 87.42 kB / 43.28 MB, free: 5.148 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.281e-05/0.04387, allocations: 6.188 kB / 43.28 MB, free: 5.145 MB / 18.57 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001848/0.04573, allocations: 435.2 kB / 43.71 MB, free: 4.844 MB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002194/0.04596, allocations: 79.84 kB / 43.79 MB, free: 4.766 MB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006385/0.04661, allocations: 0.769 MB / 44.56 MB, free: 3.98 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002759/0.04689, allocations: 90.95 kB / 44.64 MB, free: 3.914 MB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.735e-05/0.04697, allocations: 31.98 kB / 44.68 MB, free: 3.883 MB / 18.57 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 26 ($PRE.P1.fireOut[1],P1.emptying,$PRE.P3.fireIn[1],P3.feeding,P2.outTransition[1].arcType,P1.outTransition[1].arcType,P1.fireOut[1],T1.activation.emptied[1],T1.activation.active,T1.activation.weaklyInputActiveVec[1],T1.activation.weaklyOutputActiveVec[1],$PRE.P2.fireIn[1],P2.fireIn[1],$PRE.P2.fireOut[1],P2.fireOut[1],T2.activation.fed[1],T2.activation.active,T2.activation.weaklyInputActiveVec[1],T2.activation.weaklyOutputActiveVec[1],P3.fireIn[1],T1.activation.arcType[1],T2.activation.arcType[1],T2.activation.emptied[1],T1.activation.fed[1],T2.outPlaces[1].enabledByInPlaces,T1.outPlaces[1].enabledByInPlaces) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (56): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0005085/0.04748, allocations: 388.1 kB / 45.06 MB, free: 3.488 MB / 18.57 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.467e-05/0.04757, allocations: 42.38 kB / 45.1 MB, free: 3.465 MB / 18.57 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00136/0.04894, allocations: 0.99 MB / 46.09 MB, free: 2.461 MB / 18.57 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.713e-05/0.04898, allocations: 8 kB / 46.09 MB, free: 2.453 MB / 18.57 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.025e-06/0.04899, allocations: 5.031 kB / 46.1 MB, free: 2.449 MB / 18.57 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.356e-06/0.04901, allocations: 3.984 kB / 46.1 MB, free: 2.445 MB / 18.57 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001896/0.05091, allocations: 1.659 MB / 47.76 MB, free: 0.7461 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-06/0.05093, allocations: 1.531 kB / 47.76 MB, free: 0.7461 MB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001639/0.0511, allocations: 47.97 kB / 47.81 MB, free: 0.6992 MB / 18.57 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01025/0.06135, allocations: 330.1 kB / 48.13 MB, free: 5.641 MB / 18.57 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.861e-05/0.06146, allocations: 23.14 kB / 48.16 MB, free: 5.641 MB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006197/0.06209, allocations: 0.7992 MB / 48.95 MB, free: 5.125 MB / 18.57 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.0621, allocations: 0 / 48.95 MB, free: 5.125 MB / 18.57 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001907/0.06402, allocations: 1.407 MB / 50.36 MB, free: 4.922 MB / 18.57 MB Notification: Performance of postOpt removeConstants (simulation): time 8.061e-05/0.06411, allocations: 114 kB / 50.47 MB, free: 4.828 MB / 18.57 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.945e-05/0.0642, allocations: 25.2 kB / 50.5 MB, free: 4.828 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002252/0.06443, allocations: 53.59 kB / 50.55 MB, free: 4.82 MB / 18.57 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002277/0.06467, allocations: 112.8 kB / 50.66 MB, free: 4.793 MB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.161e-05/0.06473, allocations: 23.61 kB / 50.68 MB, free: 4.789 MB / 18.57 MB Notification: Performance of sorting global known variables: time 0.0001574/0.06489, allocations: 194.3 kB / 50.87 MB, free: 4.684 MB / 18.57 MB Notification: Performance of sort global known variables: time 1.1e-07/0.0649, allocations: 2.719 kB / 50.88 MB, free: 4.684 MB / 18.57 MB Notification: Performance of remove unused functions: time 0.0006436/0.06555, allocations: 243.6 kB / 51.11 MB, free: 4.648 MB / 18.57 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (P1.t_,P2.t_,P3.t_) * Number of discrete variables: 14 (P1.fireOut[1],P1.emptying,T1.activation.emptied[1],T1.activation.active,T1.activation.weaklyInputActiveVec[1],T1.activation.weaklyOutputActiveVec[1],P2.fireIn[1],P2.fireOut[1],T2.activation.fed[1],T2.activation.active,T2.activation.weaklyInputActiveVec[1],T2.activation.weaklyOutputActiveVec[1],P3.fireIn[1],P3.feeding) * Number of discrete states: 10 (P1.fireOut[1],P2.fireIn[1],T2.activation.weaklyOutputActiveVec[1],T2.activation.weaklyInputActiveVec[1],T2.activation.active,P2.fireOut[1],T1.activation.weaklyOutputActiveVec[1],T1.activation.weaklyInputActiveVec[1],T1.activation.active,P3.fireIn[1]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002161/0.06772, allocations: 2.057 MB / 53.17 MB, free: 2.867 MB / 18.57 MB Notification: Performance of simCode: created initialization part: time 0.00125/0.06898, allocations: 0.9597 MB / 54.13 MB, free: 1.906 MB / 18.57 MB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.069, allocations: 3.344 kB / 54.13 MB, free: 1.906 MB / 18.57 MB Notification: Performance of simCode: created simulation system equations: time 0.0005908/0.0696, allocations: 0.5509 MB / 54.68 MB, free: 1.336 MB / 18.57 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003962/0.07, allocations: 60.41 kB / 54.74 MB, free: 1.277 MB / 18.57 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01649/0.0865, allocations: 5.904 MB / 60.65 MB, free: 2.926 MB / 18.57 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005998/0.08715, allocations: 1.019 MB / 61.67 MB, free: 8.199 MB / 24.88 MB Notification: Performance of simCode: alias equations: time 0.0002535/0.08743, allocations: 123.4 kB / 61.79 MB, free: 8.094 MB / 24.88 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002391/0.08768, allocations: 223.2 kB / 62 MB, free: 7.879 MB / 24.88 MB Notification: Performance of SimCode: time 2.004e-06/0.08769, allocations: 0 / 62 MB, free: 7.879 MB / 24.88 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03852/0.1262, allocations: 12.22 MB / 74.23 MB, free: 8.027 MB / 24.88 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001369/0.1264, allocations: 183.6 kB / 74.41 MB, free: 7.777 MB / 24.88 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.36/2.487, allocations: 4 kB / 74.41 MB, free: 7.773 MB / 24.88 MB (rm -f ConPNlib_ConPNlib.Examples.Test9.pipe ; mkfifo ConPNlib_ConPNlib.Examples.Test9.pipe ; head -c 1048576 < ConPNlib_ConPNlib.Examples.Test9.pipe >> ../files/ConPNlib_ConPNlib.Examples.Test9.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ConPNlib_ConPNlib_Examples_Test9_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ConPNlib_ConPNlib_Examples_Test9.fmu > ConPNlib_ConPNlib.Examples.Test9.pipe 2>&1)