Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ConPNlib_ConPNlib.Examples.Test3.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.Test3,fileNamePrefix="ConPNlib_ConPNlib_Examples_Test3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ConPNlib.Examples.Test3,fileNamePrefix="ConPNlib_ConPNlib_Examples_Test3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ConPNlib master/package.mo): time 0.01369/0.01369, allocations: 1.33 MB / 13.89 MB, free: 1.414 MB / 13.93 MB Notification: Performance of FrontEnd - loaded program: time 1.554e-05/1.563e-05, allocations: 0 / 19.33 MB, free: 2.008 MB / 13.93 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0005941/0.0006378, allocations: 358 kB / 19.68 MB, free: 1.676 MB / 13.93 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.01605/0.01671, allocations: 4.004 MB / 23.68 MB, free: 2.453 MB / 13.93 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001211/0.01688, allocations: 47.42 kB / 23.73 MB, free: 2.434 MB / 13.93 MB Notification: Performance of FrontEnd - DAE generated: time 0.02113/0.03802, allocations: 5.198 MB / 28.93 MB, free: 2.262 MB / 18.57 MB Notification: Performance of FrontEnd: time 1.783e-06/0.03806, allocations: 0 / 28.93 MB, free: 2.262 MB / 18.57 MB Notification: Performance of Transformations before backend: time 2.077e-05/0.03809, allocations: 4 kB / 28.93 MB, free: 2.258 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: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.0008694/0.03897, allocations: 0.5 MB / 29.43 MB, free: 1.711 MB / 18.57 MB Notification: Performance of prepare preOptimizeDAE: time 5.222e-05/0.03903, allocations: 12.3 kB / 29.44 MB, free: 1.699 MB / 18.57 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001023/0.03914, allocations: 58.72 kB / 29.5 MB, free: 1.633 MB / 18.57 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.77e-05/0.03923, allocations: 24.58 kB / 29.53 MB, free: 1.609 MB / 18.57 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000461/0.0397, allocations: 256.5 kB / 29.78 MB, free: 1.32 MB / 18.57 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.147e-05/0.03975, allocations: 12.91 kB / 29.79 MB, free: 1.309 MB / 18.57 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.816e-05/0.03983, allocations: 24.34 kB / 29.81 MB, free: 1.285 MB / 18.57 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008042/0.04065, allocations: 324.8 kB / 30.13 MB, free: 0.9531 MB / 18.57 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.757e-05/0.04068, allocations: 7.891 kB / 30.14 MB, free: 0.9453 MB / 18.57 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.769e-05/0.04073, allocations: 4 kB / 30.14 MB, free: 0.9414 MB / 18.57 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.895e-05/0.04079, allocations: 16.42 kB / 30.16 MB, free: 0.9258 MB / 18.57 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005596/0.04136, allocations: 209.6 kB / 30.36 MB, free: 0.7227 MB / 18.57 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01321/0.05458, allocations: 0.7212 MB / 31.08 MB, free: 3.109 MB / 18.57 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000383/0.055, allocations: 118.9 kB / 31.2 MB, free: 3.086 MB / 18.57 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001944/0.05522, allocations: 78.97 kB / 31.28 MB, free: 3.078 MB / 18.57 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004289/0.05566, allocations: 433.1 kB / 31.7 MB, free: 2.609 MB / 18.57 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.329e-05/0.0557, allocations: 40.44 kB / 31.74 MB, free: 2.57 MB / 18.57 MB Notification: Performance of pre-optimization done (n=13): time 2.755e-06/0.05571, allocations: 0 / 31.74 MB, free: 2.57 MB / 18.57 MB Notification: Performance of matching and sorting (n=13): time 0.0005542/0.05627, allocations: 217.8 kB / 31.95 MB, free: 2.508 MB / 18.57 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.842e-05/0.05634, allocations: 108.5 kB / 32.06 MB, free: 2.383 MB / 18.57 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001554/0.0565, allocations: 152.8 kB / 32.21 MB, free: 2.285 MB / 18.57 MB Notification: Performance of collectPreVariables (initialization): time 2.674e-05/0.05654, allocations: 34.2 kB / 32.24 MB, free: 2.254 MB / 18.57 MB Notification: Performance of collectInitialEqns (initialization): time 8.102e-05/0.05663, allocations: 139.9 kB / 32.38 MB, free: 2.152 MB / 18.57 MB Notification: Performance of collectInitialBindings (initialization): time 4.907e-05/0.05669, allocations: 42.39 kB / 32.42 MB, free: 2.133 MB / 18.57 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.637e-05/0.05672, allocations: 6.5 kB / 32.42 MB, free: 2.133 MB / 18.57 MB Notification: Performance of setup shared object (initialization): time 6.14e-05/0.05679, allocations: 323.5 kB / 32.74 MB, free: 1.82 MB / 18.57 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001652/0.05696, allocations: 65.73 kB / 32.8 MB, free: 1.816 MB / 18.57 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001975/0.05717, allocations: 126.4 kB / 32.93 MB, free: 1.754 MB / 18.57 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001792/0.05737, allocations: 99.09 kB / 33.02 MB, free: 1.723 MB / 18.57 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.05738, allocations: 2.906 kB / 33.03 MB, free: 1.723 MB / 18.57 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0006096/0.058, allocations: 281 kB / 33.3 MB, free: 1.656 MB / 18.57 MB Notification: Performance of prepare postOptimizeDAE: time 4.326e-05/0.05806, allocations: 42.27 kB / 33.34 MB, free: 1.625 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.345e-06/0.05808, allocations: 4.5 kB / 33.35 MB, free: 1.625 MB / 18.57 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.767e-05/0.05811, allocations: 3.375 kB / 33.35 MB, free: 1.625 MB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002081/0.05832, allocations: 31.98 kB / 33.38 MB, free: 1.625 MB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.211e-05/0.05835, allocations: 9.703 kB / 33.39 MB, free: 1.621 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001492/0.05851, allocations: 23.84 kB / 33.41 MB, free: 1.617 MB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.676e-05/0.05856, allocations: 15.08 kB / 33.43 MB, free: 1.617 MB / 18.57 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 8 ($PRE.P1.fireIn[1],P1.feeding,P1.emptying,T1.activation.active,T1.activation.weaklyOutputActiveVec[1],P1.fireIn[1],T1.activation.emptied[1],T1.outPlaces[1].enabledByInPlaces) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 18 * Array equations: 1 * 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.0001278/0.05869, allocations: 161.2 kB / 33.59 MB, free: 1.48 MB / 18.57 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.958e-05/0.05876, allocations: 14.47 kB / 33.6 MB, free: 1.473 MB / 18.57 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007072/0.05947, allocations: 300.5 kB / 33.89 MB, free: 1.41 MB / 18.57 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-05/0.05951, allocations: 0 / 33.89 MB, free: 1.41 MB / 18.57 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.05952, allocations: 0.9375 kB / 33.9 MB, free: 1.41 MB / 18.57 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.091e-06/0.05954, allocations: 6.344 kB / 33.9 MB, free: 1.41 MB / 18.57 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000885/0.06043, allocations: 0.587 MB / 34.49 MB, free: 1.078 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/0.06045, allocations: 0 / 34.49 MB, free: 1.078 MB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001771/0.06064, allocations: 26.3 kB / 34.51 MB, free: 1.078 MB / 18.57 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.22e-06/0.06066, allocations: 1.625 kB / 34.52 MB, free: 1.078 MB / 18.57 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.616e-05/0.06069, allocations: 11.52 kB / 34.53 MB, free: 1.078 MB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.427e-06/0.0607, allocations: 0 / 34.53 MB, free: 1.078 MB / 18.57 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.06071, allocations: 3.953 kB / 34.53 MB, free: 1.074 MB / 18.57 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007227/0.06144, allocations: 421.9 kB / 34.94 MB, free: 0.9102 MB / 18.57 MB Notification: Performance of postOpt removeConstants (simulation): time 4.386e-05/0.06151, allocations: 96.58 kB / 35.04 MB, free: 0.8086 MB / 18.57 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.236e-05/0.06161, allocations: 7.188 kB / 35.04 MB, free: 0.8086 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001631/0.06178, allocations: 12.25 kB / 35.06 MB, free: 0.8086 MB / 18.57 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001393/0.06194, allocations: 33.05 kB / 35.09 MB, free: 0.8086 MB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.614e-05/0.06199, allocations: 18.73 kB / 35.11 MB, free: 0.8047 MB / 18.57 MB Notification: Performance of sorting global known variables: time 0.0001264/0.06212, allocations: 111.2 kB / 35.22 MB, free: 0.7266 MB / 18.57 MB Notification: Performance of sort global known variables: time 6.91e-07/0.06214, allocations: 0 / 35.22 MB, free: 0.7266 MB / 18.57 MB Notification: Performance of remove unused functions: time 0.000938/0.06309, allocations: 97.33 kB / 35.31 MB, free: 0.7227 MB / 18.57 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (P1.t_) * Number of discrete variables: 4 (T1.activation.active,T1.activation.weaklyOutputActiveVec[1],P1.fireIn[1],P1.feeding) * Number of discrete states: 3 (P1.fireIn[1],T1.activation.weaklyOutputActiveVec[1],T1.activation.active) * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 12 * Array equations: 1 * 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.002206/0.06533, allocations: 1.025 MB / 36.34 MB, free: 6.238 MB / 24.79 MB Notification: Performance of simCode: created initialization part: time 0.0009447/0.06634, allocations: 237 kB / 36.57 MB, free: 6.176 MB / 24.79 MB Notification: Performance of simCode: created event and clocks part: time 7.464e-06/0.0664, allocations: 0 / 36.57 MB, free: 6.176 MB / 24.79 MB Notification: Performance of simCode: created simulation system equations: time 0.0004486/0.06686, allocations: 154.3 kB / 36.72 MB, free: 6.113 MB / 24.79 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004607/0.06734, allocations: 17.78 kB / 36.74 MB, free: 6.113 MB / 24.79 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001971/0.06933, allocations: 436.2 kB / 37.16 MB, free: 5.953 MB / 24.79 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006707/0.07006, allocations: 0.7691 MB / 37.93 MB, free: 5.254 MB / 24.79 MB Notification: Performance of simCode: alias equations: time 0.0003813/0.07047, allocations: 62.52 kB / 37.99 MB, free: 5.246 MB / 24.79 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002106/0.0707, allocations: 75.08 kB / 38.06 MB, free: 5.234 MB / 24.79 MB Notification: Performance of SimCode: time 1.202e-06/0.07072, allocations: 0 / 38.06 MB, free: 5.234 MB / 24.79 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03005/0.1008, allocations: 4.064 MB / 42.13 MB, free: 2.773 MB / 24.79 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002912/0.1011, allocations: 120.5 kB / 42.25 MB, free: 2.57 MB / 24.79 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.455/2.556, allocations: 0 / 42.25 MB, free: 2.57 MB / 24.79 MB (rm -f ConPNlib_ConPNlib.Examples.Test3.pipe ; mkfifo ConPNlib_ConPNlib.Examples.Test3.pipe ; head -c 1048576 < ConPNlib_ConPNlib.Examples.Test3.pipe >> ../files/ConPNlib_ConPNlib.Examples.Test3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ConPNlib_ConPNlib_Examples_Test3_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ConPNlib_ConPNlib_Examples_Test3.fmu > ConPNlib_ConPNlib.Examples.Test3.pipe 2>&1)