Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ConPNlib_ConPNlib.Examples.Test1b.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.Test1b,fileNamePrefix="ConPNlib_ConPNlib_Examples_Test1b",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ConPNlib.Examples.Test1b,fileNamePrefix="ConPNlib_ConPNlib_Examples_Test1b",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ConPNlib master/package.mo): time 0.005897/0.005897, allocations: 1.365 MB / 16.61 MB, free: 4.785 MB / 13.93 MB Notification: Performance of FrontEnd - loaded program: time 1.883e-05/1.895e-05, allocations: 0 / 23.76 MB, free: 3.43 MB / 13.93 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0008141/0.0008621, allocations: 354.1 kB / 24.11 MB, free: 3.094 MB / 13.93 MB Notification: Performance of NFInst.instantiate(ConPNlib.Examples.Test1b): time 0.0006624/0.001543, allocations: 421.3 kB / 24.52 MB, free: 2.688 MB / 13.93 MB Notification: Performance of NFInst.instExpressions: time 0.0004251/0.001987, allocations: 174.2 kB / 24.69 MB, free: 2.52 MB / 13.93 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.216e-05/0.002074, allocations: 10 kB / 24.7 MB, free: 2.512 MB / 13.93 MB Notification: Performance of NFTyping.typeComponents: time 0.0001502/0.002234, allocations: 27.8 kB / 24.72 MB, free: 2.484 MB / 13.93 MB Notification: Performance of NFTyping.typeBindings: time 0.0002388/0.002481, allocations: 39.83 kB / 24.76 MB, free: 2.445 MB / 13.93 MB Notification: Performance of NFTyping.typeClassSections: time 5.345e-05/0.002544, allocations: 27.97 kB / 24.79 MB, free: 2.418 MB / 13.93 MB Notification: Performance of NFFlatten.flatten: time 0.0001098/0.002661, allocations: 99.8 kB / 24.89 MB, free: 2.32 MB / 13.93 MB Notification: Performance of NFFlatten.resolveConnections: time 5.54e-05/0.002724, allocations: 13.86 kB / 24.9 MB, free: 2.309 MB / 13.93 MB Notification: Performance of NFEvalConstants.evaluate: time 6.39e-05/0.002795, allocations: 47.78 kB / 24.95 MB, free: 2.262 MB / 13.93 MB Notification: Performance of NFSimplifyModel.simplify: time 8.227e-05/0.002884, allocations: 19.8 kB / 24.97 MB, free: 2.242 MB / 13.93 MB Notification: Performance of NFPackage.collectConstants: time 1.392e-05/0.002905, allocations: 0 / 24.97 MB, free: 2.242 MB / 13.93 MB Notification: Performance of NFFlatten.collectFunctions: time 9.31e-05/0.003003, allocations: 31.97 kB / 25 MB, free: 2.211 MB / 13.93 MB Notification: Performance of NFScalarize.scalarize: time 2.909e-05/0.003039, allocations: 11.97 kB / 25.01 MB, free: 2.199 MB / 13.93 MB Notification: Performance of NFVerifyModel.verify: time 2.767e-05/0.003072, allocations: 7.938 kB / 25.02 MB, free: 2.191 MB / 13.93 MB Notification: Performance of NFConvertDAE.convert: time 0.0001213/0.003199, allocations: 49.08 kB / 25.07 MB, free: 2.145 MB / 13.93 MB Notification: Performance of FrontEnd - DAE generated: time 2.244e-06/0.00321, allocations: 3.938 kB / 25.07 MB, free: 2.141 MB / 13.93 MB Notification: Performance of FrontEnd: time 6.71e-07/0.003216, allocations: 0 / 25.07 MB, free: 2.141 MB / 13.93 MB Notification: Performance of Transformations before backend: time 4.599e-06/0.003227, allocations: 0.625 kB / 25.07 MB, free: 2.141 MB / 13.93 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003179/0.00355, allocations: 361.6 kB / 25.42 MB, free: 1.734 MB / 13.93 MB Notification: Performance of prepare preOptimizeDAE: time 4.355e-05/0.003601, allocations: 8.312 kB / 25.43 MB, free: 1.727 MB / 13.93 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.492e-05/0.003642, allocations: 34.75 kB / 25.47 MB, free: 1.684 MB / 13.93 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.975e-05/0.003678, allocations: 8.844 kB / 25.48 MB, free: 1.676 MB / 13.93 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001334/0.003817, allocations: 176.6 kB / 25.65 MB, free: 1.465 MB / 13.93 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.689e-05/0.00384, allocations: 1.125 kB / 25.65 MB, free: 1.465 MB / 13.93 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.051e-05/0.003856, allocations: 6.188 kB / 25.65 MB, free: 1.461 MB / 13.93 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001132/0.003974, allocations: 46.25 kB / 25.7 MB, free: 1.41 MB / 13.93 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.636e-06/0.003991, allocations: 3.938 kB / 25.7 MB, free: 1.406 MB / 13.93 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.517e-06/0.004006, allocations: 4 kB / 25.71 MB, free: 1.402 MB / 13.93 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.004015, allocations: 0 / 25.71 MB, free: 1.402 MB / 13.93 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.328e-05/0.004074, allocations: 25.23 kB / 25.73 MB, free: 1.379 MB / 13.93 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000417/0.004498, allocations: 378.5 kB / 26.1 MB, free: 0.9414 MB / 13.93 MB Notification: Performance of preOpt comSubExp (simulation): time 4.584e-05/0.004556, allocations: 18.58 kB / 26.12 MB, free: 0.9141 MB / 13.93 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.739e-05/0.004581, allocations: 12.92 kB / 26.13 MB, free: 0.8984 MB / 13.93 MB Notification: Performance of preOpt evalFunc (simulation): time 6.903e-06/0.004594, allocations: 0 / 26.13 MB, free: 0.8984 MB / 13.93 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.678e-05/0.004616, allocations: 38.44 kB / 26.17 MB, free: 0.8516 MB / 13.93 MB Notification: Performance of pre-optimization done (n=2): time 1.663e-06/0.004623, allocations: 4 kB / 26.17 MB, free: 0.8477 MB / 13.93 MB Notification: Performance of matching and sorting (n=2): time 0.0001897/0.004818, allocations: 71.39 kB / 26.24 MB, free: 0.7656 MB / 13.93 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.558e-05/0.004853, allocations: 78.89 kB / 26.32 MB, free: 0.6719 MB / 13.93 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.401e-05/0.004924, allocations: 115.1 kB / 26.43 MB, free: 0.5508 MB / 13.93 MB Notification: Performance of collectPreVariables (initialization): time 6.973e-06/0.004937, allocations: 25.7 kB / 26.46 MB, free: 0.5195 MB / 13.93 MB Notification: Performance of collectInitialEqns (initialization): time 3.102e-05/0.004973, allocations: 91.95 kB / 26.55 MB, free: 436 kB / 13.93 MB Notification: Performance of collectInitialBindings (initialization): time 8.015e-06/0.004987, allocations: 7.906 kB / 26.56 MB, free: 428 kB / 13.93 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.266e-05/0.005014, allocations: 17.7 kB / 26.57 MB, free: 404 kB / 13.93 MB Notification: Performance of setup shared object (initialization): time 3.956e-05/0.00506, allocations: 318.9 kB / 26.88 MB, free: 76 kB / 13.93 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.92e-05/0.005085, allocations: 8 kB / 26.89 MB, free: 68 kB / 13.93 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.435e-05/0.005115, allocations: 25.7 kB / 26.92 MB, free: 36 kB / 13.93 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.902e-05/0.005201, allocations: 78.61 kB / 26.99 MB, free: 4.602 MB / 18.59 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.00521, allocations: 0 / 26.99 MB, free: 4.602 MB / 18.59 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001192/0.005334, allocations: 91.31 kB / 27.08 MB, free: 4.5 MB / 18.59 MB Notification: Performance of prepare postOptimizeDAE: time 3.2e-05/0.005376, allocations: 33.73 kB / 27.12 MB, free: 4.461 MB / 18.59 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.005387, allocations: 4 kB / 27.12 MB, free: 4.457 MB / 18.59 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.115e-05/0.005403, allocations: 0 / 27.12 MB, free: 4.457 MB / 18.59 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.094e-05/0.005468, allocations: 8.125 kB / 27.13 MB, free: 4.449 MB / 18.59 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.104e-06/0.005484, allocations: 7.984 kB / 27.14 MB, free: 4.441 MB / 18.59 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.538e-05/0.005514, allocations: 3.938 kB / 27.14 MB, free: 4.438 MB / 18.59 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.326e-05/0.005532, allocations: 4 kB / 27.14 MB, free: 4.434 MB / 18.59 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 1 (T1.activation.active) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.61e-05/0.005623, allocations: 147.5 kB / 27.29 MB, free: 4.277 MB / 18.59 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.572e-05/0.005655, allocations: 3.906 kB / 27.29 MB, free: 4.273 MB / 18.59 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.504e-05/0.005685, allocations: 11.89 kB / 27.3 MB, free: 4.254 MB / 18.59 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.946e-06/0.005695, allocations: 4 kB / 27.31 MB, free: 4.25 MB / 18.59 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/0.005704, allocations: 0 / 27.31 MB, free: 4.25 MB / 18.59 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.005711, allocations: 0 / 27.31 MB, free: 4.25 MB / 18.59 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001469/0.005862, allocations: 161.6 kB / 27.46 MB, free: 4.043 MB / 18.59 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.005871, allocations: 48 / 27.46 MB, free: 4.043 MB / 18.59 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.543e-05/0.005891, allocations: 7.984 kB / 27.47 MB, free: 4.035 MB / 18.59 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.005897, allocations: 0 / 27.47 MB, free: 4.035 MB / 18.59 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.177e-06/0.005911, allocations: 0 / 27.47 MB, free: 4.035 MB / 18.59 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.005917, allocations: 3.938 kB / 27.48 MB, free: 4.031 MB / 18.59 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.005922, allocations: 320 / 27.48 MB, free: 4.031 MB / 18.59 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001291/0.006055, allocations: 177.2 kB / 27.65 MB, free: 3.836 MB / 18.59 MB Notification: Performance of postOpt removeConstants (simulation): time 3.123e-05/0.006095, allocations: 81.05 kB / 27.73 MB, free: 3.738 MB / 18.59 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.514e-05/0.006116, allocations: 0 / 27.73 MB, free: 3.738 MB / 18.59 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.376e-05/0.006165, allocations: 4 kB / 27.73 MB, free: 3.734 MB / 18.59 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.581e-05/0.006186, allocations: 0 / 27.73 MB, free: 3.734 MB / 18.59 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.182e-06/0.006197, allocations: 3.984 kB / 27.74 MB, free: 3.73 MB / 18.59 MB Notification: Performance of sorting global known variables: time 4.649e-05/0.006247, allocations: 91.27 kB / 27.83 MB, free: 3.641 MB / 18.59 MB Notification: Performance of sort global known variables: time 1.2e-07/0.006255, allocations: 4.031 kB / 27.83 MB, free: 3.637 MB / 18.59 MB Notification: Performance of remove unused functions: time 0.0002175/0.006476, allocations: 15.91 kB / 27.85 MB, free: 3.621 MB / 18.59 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (T1.activation.active) * Number of discrete states: 1 (T1.activation.active) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003601/0.006842, allocations: 0.7148 MB / 28.56 MB, free: 2.875 MB / 18.59 MB Notification: Performance of simCode: created initialization part: time 0.0001078/0.00696, allocations: 75.39 kB / 28.63 MB, free: 2.789 MB / 18.59 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.006971, allocations: 96 / 28.63 MB, free: 2.789 MB / 18.59 MB Notification: Performance of simCode: created simulation system equations: time 3.322e-05/0.007011, allocations: 67.34 kB / 28.7 MB, free: 2.711 MB / 18.59 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001953/0.007213, allocations: 4 kB / 28.7 MB, free: 2.707 MB / 18.59 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001117/0.008336, allocations: 1.291 MB / 29.99 MB, free: 1.328 MB / 18.59 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002352/0.008585, allocations: 0.6809 MB / 30.68 MB, free: 0.6211 MB / 18.59 MB Notification: Performance of simCode: alias equations: time 0.0001604/0.008754, allocations: 27.91 kB / 30.7 MB, free: 0.5938 MB / 18.59 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.34e-05/0.008818, allocations: 23.42 kB / 30.73 MB, free: 0.5703 MB / 18.59 MB Notification: Performance of SimCode: time 3.41e-07/0.008825, allocations: 0 / 30.73 MB, free: 0.5703 MB / 18.59 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0169/0.02574, allocations: 1.167 MB / 31.89 MB, free: 6.852 MB / 18.59 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001447/0.02592, allocations: 162.8 kB / 32.05 MB, free: 6.598 MB / 18.59 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.797/1.823, allocations: 0 / 32.05 MB, free: 6.598 MB / 18.59 MB (rm -f ConPNlib_ConPNlib.Examples.Test1b.pipe ; mkfifo ConPNlib_ConPNlib.Examples.Test1b.pipe ; head -c 1048576 < ConPNlib_ConPNlib.Examples.Test1b.pipe >> ../files/ConPNlib_ConPNlib.Examples.Test1b.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ConPNlib_ConPNlib_Examples_Test1b_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ConPNlib_ConPNlib_Examples_Test1b.fmu > ConPNlib_ConPNlib.Examples.Test1b.pipe 2>&1)