Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ConPNlib_ConPNlib.Examples.Test5.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.Test5,fileNamePrefix="ConPNlib_ConPNlib_Examples_Test5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ConPNlib.Examples.Test5,fileNamePrefix="ConPNlib_ConPNlib_Examples_Test5",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ConPNlib master/package.mo): time 0.01317/0.01317, allocations: 1.33 MB / 13.89 MB, free: 1.414 MB / 13.93 MB Notification: Performance of FrontEnd - loaded program: time 2.001e-05/2.018e-05, allocations: 0 / 19.32 MB, free: 1.895 MB / 13.93 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0008417/0.0008976, allocations: 368.6 kB / 19.68 MB, free: 1.551 MB / 13.93 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.02159/0.02251, allocations: 4.008 MB / 23.69 MB, free: 2.293 MB / 13.93 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001714/0.02274, allocations: 48.92 kB / 23.74 MB, free: 2.273 MB / 13.93 MB Notification: Performance of FrontEnd - DAE generated: time 0.03975/0.06251, allocations: 6.925 MB / 30.66 MB, free: 332 kB / 18.57 MB Notification: Performance of FrontEnd: time 3.998e-06/0.06255, allocations: 0 / 30.66 MB, free: 332 kB / 18.57 MB Notification: Performance of Transformations before backend: time 2.829e-05/0.06259, allocations: 11.94 kB / 30.68 MB, free: 320 kB / 18.57 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.01264/0.07524, allocations: 0.6098 MB / 31.29 MB, free: 2.633 MB / 18.57 MB Notification: Performance of prepare preOptimizeDAE: time 4.802e-05/0.07531, allocations: 10.53 kB / 31.3 MB, free: 2.633 MB / 18.57 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002108/0.07553, allocations: 89.39 kB / 31.38 MB, free: 2.594 MB / 18.57 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001223/0.07566, allocations: 42.73 kB / 31.42 MB, free: 2.574 MB / 18.57 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005929/0.07627, allocations: 320.1 kB / 31.74 MB, free: 2.375 MB / 18.57 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.381e-05/0.07633, allocations: 34.17 kB / 31.77 MB, free: 2.371 MB / 18.57 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.896e-05/0.07643, allocations: 46.52 kB / 31.82 MB, free: 2.371 MB / 18.57 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001303/0.07775, allocations: 0.6062 MB / 32.42 MB, free: 2.289 MB / 18.57 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.972e-05/0.07779, allocations: 0 / 32.42 MB, free: 2.289 MB / 18.57 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.828e-05/0.07786, allocations: 26.2 kB / 32.45 MB, free: 2.285 MB / 18.57 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.295e-05/0.07796, allocations: 31.08 kB / 32.48 MB, free: 2.285 MB / 18.57 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008842/0.07885, allocations: 400.7 kB / 32.87 MB, free: 2.281 MB / 18.57 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00227/0.08114, allocations: 1.152 MB / 34.02 MB, free: 1.863 MB / 18.57 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004505/0.08162, allocations: 208.1 kB / 34.22 MB, free: 1.836 MB / 18.57 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003294/0.08197, allocations: 168.2 kB / 34.39 MB, free: 1.828 MB / 18.57 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005749/0.08256, allocations: 0.5961 MB / 34.98 MB, free: 1.172 MB / 18.57 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.705e-05/0.0826, allocations: 37.48 kB / 35.02 MB, free: 1.133 MB / 18.57 MB Notification: Performance of pre-optimization done (n=23): time 3.256e-06/0.08261, allocations: 0 / 35.02 MB, free: 1.133 MB / 18.57 MB Notification: Performance of matching and sorting (n=23): time 0.0007701/0.08339, allocations: 334.2 kB / 35.35 MB, free: 1.051 MB / 18.57 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.793e-05/0.08348, allocations: 146.6 kB / 35.49 MB, free: 0.8945 MB / 18.57 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002366/0.08373, allocations: 202.4 kB / 35.69 MB, free: 0.7852 MB / 18.57 MB Notification: Performance of collectPreVariables (initialization): time 3.866e-05/0.08378, allocations: 32.33 kB / 35.72 MB, free: 0.7539 MB / 18.57 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001482/0.08394, allocations: 220.2 kB / 35.93 MB, free: 0.6172 MB / 18.57 MB Notification: Performance of collectInitialBindings (initialization): time 8.711e-05/0.08404, allocations: 74.58 kB / 36.01 MB, free: 0.5742 MB / 18.57 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.065e-05/0.08408, allocations: 8.641 kB / 36.02 MB, free: 0.5742 MB / 18.57 MB Notification: Performance of setup shared object (initialization): time 0.0001397/0.08423, allocations: 331 kB / 36.34 MB, free: 6.484 MB / 24.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003234/0.08456, allocations: 138 kB / 36.47 MB, free: 6.477 MB / 24.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003965/0.08497, allocations: 238.7 kB / 36.71 MB, free: 6.367 MB / 24.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003703/0.08536, allocations: 189.7 kB / 36.89 MB, free: 6.324 MB / 24.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.099e-06/0.08538, allocations: 0 / 36.89 MB, free: 6.324 MB / 24.8 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0009731/0.08636, allocations: 441.3 kB / 37.32 MB, free: 6.223 MB / 24.8 MB Notification: Performance of prepare postOptimizeDAE: time 7.218e-05/0.08645, allocations: 50.14 kB / 37.37 MB, free: 6.184 MB / 24.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.07e-05/0.08647, allocations: 7.344 kB / 37.38 MB, free: 6.184 MB / 24.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.158e-05/0.0865, allocations: 4.406 kB / 37.38 MB, free: 6.184 MB / 24.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003425/0.08686, allocations: 53.7 kB / 37.44 MB, free: 6.176 MB / 24.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.503e-05/0.08689, allocations: 7.844 kB / 37.44 MB, free: 6.172 MB / 24.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003085/0.0872, allocations: 44.78 kB / 37.49 MB, free: 6.156 MB / 24.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.35e-05/0.08728, allocations: 28.72 kB / 37.52 MB, free: 6.152 MB / 24.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 16 ($PRE.P1.fireOut[1],P1.emptying,$PRE.P2.fireIn[1],P2.feeding,P1.feeding,P1.outTransition[1].arcType,P2.emptying,P1.fireOut[1],P2.fireIn[1],T1.activation.active,T1.activation.weaklyInputActiveVec[1],T1.activation.weaklyOutputActiveVec[1],T1.activation.emptied[1],T1.activation.arcType[1],T1.activation.fed[1],T1.outPlaces[1].enabledByInPlaces) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (38): * Single equations (assignments): 35 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002377/0.08753, allocations: 173.1 kB / 37.68 MB, free: 5.996 MB / 24.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.054e-05/0.08762, allocations: 23.97 kB / 37.71 MB, free: 5.984 MB / 24.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001022/0.08866, allocations: 395.4 kB / 38.09 MB, free: 5.824 MB / 24.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.434e-05/0.08872, allocations: 9.094 kB / 38.1 MB, free: 5.82 MB / 24.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/0.08874, allocations: 3.953 kB / 38.11 MB, free: 5.816 MB / 24.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.506e-06/0.08875, allocations: 3.703 kB / 38.11 MB, free: 5.816 MB / 24.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00158/0.09034, allocations: 0.8091 MB / 38.92 MB, free: 5.238 MB / 24.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.169e-06/0.09037, allocations: 0 / 38.92 MB, free: 5.238 MB / 24.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000316/0.0907, allocations: 39.88 kB / 38.96 MB, free: 5.203 MB / 24.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.324e-06/0.09072, allocations: 0 / 38.96 MB, free: 5.203 MB / 24.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.01e-05/0.09078, allocations: 15.66 kB / 38.97 MB, free: 5.191 MB / 24.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.372e-06/0.0908, allocations: 7.953 kB / 38.98 MB, free: 5.184 MB / 24.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.09081, allocations: 0 / 38.98 MB, free: 5.184 MB / 24.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001363/0.09218, allocations: 0.6079 MB / 39.59 MB, free: 4.613 MB / 24.8 MB Notification: Performance of postOpt removeConstants (simulation): time 8.478e-05/0.09228, allocations: 92.95 kB / 39.68 MB, free: 4.504 MB / 24.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.76e-05/0.09237, allocations: 21.42 kB / 39.7 MB, free: 4.492 MB / 24.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002832/0.09267, allocations: 27.89 kB / 39.73 MB, free: 4.469 MB / 24.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002289/0.09291, allocations: 66.03 kB / 39.79 MB, free: 4.426 MB / 24.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.35e-05/0.09299, allocations: 20.22 kB / 39.81 MB, free: 4.41 MB / 24.8 MB Notification: Performance of sorting global known variables: time 0.0001936/0.0932, allocations: 142.1 kB / 39.95 MB, free: 4.281 MB / 24.8 MB Notification: Performance of sort global known variables: time 4.91e-07/0.09321, allocations: 0 / 39.95 MB, free: 4.281 MB / 24.8 MB Notification: Performance of remove unused functions: time 0.0007912/0.09401, allocations: 167.7 kB / 40.12 MB, free: 4.137 MB / 24.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (P1.t_,P2.t_) * Number of discrete variables: 7 (P1.fireOut[1],P1.emptying,P2.fireIn[1],P2.feeding,T1.activation.active,T1.activation.weaklyInputActiveVec[1],T1.activation.weaklyOutputActiveVec[1]) * Number of discrete states: 5 (P2.fireIn[1],P1.fireOut[1],T1.activation.weaklyOutputActiveVec[1],T1.activation.weaklyInputActiveVec[1],T1.activation.active) * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 20 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002137/0.09616, allocations: 1.262 MB / 41.38 MB, free: 2.934 MB / 24.8 MB Notification: Performance of simCode: created initialization part: time 0.0011/0.09729, allocations: 458.8 kB / 41.83 MB, free: 2.512 MB / 24.8 MB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.09731, allocations: 0 / 41.83 MB, free: 2.512 MB / 24.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0005217/0.09785, allocations: 258 kB / 42.08 MB, free: 2.266 MB / 24.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003958/0.09826, allocations: 39.36 kB / 42.12 MB, free: 2.234 MB / 24.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002354/0.1006, allocations: 0.7355 MB / 42.85 MB, free: 1.59 MB / 24.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006161/0.1013, allocations: 0.8593 MB / 43.71 MB, free: 0.7734 MB / 24.8 MB Notification: Performance of simCode: alias equations: time 0.0004056/0.1017, allocations: 76.36 kB / 43.79 MB, free: 0.7227 MB / 24.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002936/0.102, allocations: 122.6 kB / 43.9 MB, free: 0.6172 MB / 24.8 MB Notification: Performance of SimCode: time 1.433e-06/0.102, allocations: 0 / 43.9 MB, free: 0.6172 MB / 24.8 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04948/0.1515, allocations: 6.726 MB / 50.63 MB, free: 5.34 MB / 24.8 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002374/0.1518, allocations: 125.8 kB / 50.75 MB, free: 5.137 MB / 24.8 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.598/2.749, allocations: 0 / 50.75 MB, free: 5.137 MB / 24.8 MB (rm -f ConPNlib_ConPNlib.Examples.Test5.pipe ; mkfifo ConPNlib_ConPNlib.Examples.Test5.pipe ; head -c 1048576 < ConPNlib_ConPNlib.Examples.Test5.pipe >> ../files/ConPNlib_ConPNlib.Examples.Test5.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ConPNlib_ConPNlib_Examples_Test5_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ConPNlib_ConPNlib_Examples_Test5.fmu > ConPNlib_ConPNlib.Examples.Test5.pipe 2>&1)