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.01748/0.01748, allocations: 1.355 MB / 16.31 MB, free: 4.941 MB / 13.93 MB Notification: Performance of FrontEnd - loaded program: time 1.566e-05/1.579e-05, allocations: 0 / 23.32 MB, free: 3.734 MB / 13.93 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0006991/0.0007421, allocations: 355.1 kB / 23.66 MB, free: 3.562 MB / 13.93 MB Notification: Performance of NFInst.instantiate(ConPNlib.Examples.Test1b): time 0.0007267/0.001484, allocations: 399 kB / 24.05 MB, free: 3.359 MB / 13.93 MB Notification: Performance of NFInst.instExpressions: time 0.0003929/0.001895, allocations: 161.7 kB / 24.21 MB, free: 3.203 MB / 13.93 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.227e-05/0.001982, allocations: 0 / 24.21 MB, free: 3.203 MB / 13.93 MB Notification: Performance of NFTyping.typeComponents: time 0.0001201/0.002115, allocations: 24.86 kB / 24.23 MB, free: 3.18 MB / 13.93 MB Notification: Performance of NFTyping.typeBindings: time 0.0002708/0.002397, allocations: 39.89 kB / 24.27 MB, free: 3.141 MB / 13.93 MB Notification: Performance of NFTyping.typeClassSections: time 5.6e-05/0.002469, allocations: 22.81 kB / 24.3 MB, free: 3.121 MB / 13.93 MB Notification: Performance of NFFlatten.flatten: time 0.0001165/0.002598, allocations: 63.86 kB / 24.36 MB, free: 3.059 MB / 13.93 MB Notification: Performance of NFFlatten.resolveConnections: time 5.546e-05/0.002665, allocations: 13.94 kB / 24.37 MB, free: 3.043 MB / 13.93 MB Notification: Performance of NFEvalConstants.evaluate: time 6.738e-05/0.002742, allocations: 35.84 kB / 24.41 MB, free: 3.008 MB / 13.93 MB Notification: Performance of NFSimplifyModel.simplify: time 6.018e-05/0.002814, allocations: 27.8 kB / 24.43 MB, free: 2.98 MB / 13.93 MB Notification: Performance of NFPackage.collectConstants: time 1.214e-05/0.002837, allocations: 3.938 kB / 24.44 MB, free: 2.977 MB / 13.93 MB Notification: Performance of NFFlatten.collectFunctions: time 7.286e-05/0.002918, allocations: 19.98 kB / 24.46 MB, free: 2.957 MB / 13.93 MB Notification: Performance of NFScalarize.scalarize: time 1.82e-05/0.002947, allocations: 4.703 kB / 24.46 MB, free: 2.953 MB / 13.93 MB Notification: Performance of NFVerifyModel.verify: time 2.196e-05/0.002979, allocations: 30.36 kB / 24.49 MB, free: 2.918 MB / 13.93 MB Notification: Performance of NFConvertDAE.convert: time 9.453e-05/0.003082, allocations: 38.06 kB / 24.53 MB, free: 2.883 MB / 13.93 MB Notification: Performance of FrontEnd - DAE generated: time 2.104e-06/0.003096, allocations: 4 kB / 24.53 MB, free: 2.879 MB / 13.93 MB Notification: Performance of FrontEnd: time 1.653e-06/0.003106, allocations: 0 / 24.53 MB, free: 2.879 MB / 13.93 MB Notification: Performance of Transformations before backend: time 3.637e-06/0.003118, allocations: 0 / 24.53 MB, free: 2.879 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.0003202/0.003446, allocations: 356.9 kB / 24.88 MB, free: 2.477 MB / 13.93 MB Notification: Performance of prepare preOptimizeDAE: time 3.846e-05/0.003494, allocations: 12.3 kB / 24.89 MB, free: 2.465 MB / 13.93 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.703e-05/0.003531, allocations: 30.73 kB / 24.92 MB, free: 2.426 MB / 13.93 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.66e-05/0.003566, allocations: 8.766 kB / 24.93 MB, free: 2.418 MB / 13.93 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001302/0.003705, allocations: 176.2 kB / 25.1 MB, free: 2.207 MB / 13.93 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.694e-05/0.003734, allocations: 3.328 kB / 25.11 MB, free: 2.207 MB / 13.93 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.365e-05/0.003756, allocations: 4.344 kB / 25.11 MB, free: 2.203 MB / 13.93 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001258/0.00389, allocations: 58.12 kB / 25.17 MB, free: 2.141 MB / 13.93 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.817e-06/0.003912, allocations: 352 / 25.17 MB, free: 2.141 MB / 13.93 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.162e-05/0.003932, allocations: 3.953 kB / 25.17 MB, free: 2.137 MB / 13.93 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.549e-06/0.003945, allocations: 0 / 25.17 MB, free: 2.137 MB / 13.93 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.214e-05/0.004034, allocations: 23.98 kB / 25.2 MB, free: 2.113 MB / 13.93 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005227/0.004568, allocations: 378.2 kB / 25.56 MB, free: 1.676 MB / 13.93 MB Notification: Performance of preOpt comSubExp (simulation): time 5.372e-05/0.004639, allocations: 30.53 kB / 25.59 MB, free: 1.637 MB / 13.93 MB Notification: Performance of preOpt evalFunc (simulation): time 8.947e-06/0.004659, allocations: 15.88 kB / 25.61 MB, free: 1.625 MB / 13.93 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.909e-05/0.004687, allocations: 34.31 kB / 25.64 MB, free: 1.586 MB / 13.93 MB Notification: Performance of pre-optimization done (n=2): time 1.693e-06/0.004697, allocations: 0 / 25.64 MB, free: 1.586 MB / 13.93 MB Notification: Performance of matching and sorting (n=2): time 0.0001693/0.004874, allocations: 67.41 kB / 25.71 MB, free: 1.508 MB / 13.93 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.838e-05/0.004915, allocations: 77.11 kB / 25.78 MB, free: 1.414 MB / 13.93 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.16e-05/0.005005, allocations: 118.6 kB / 25.9 MB, free: 1.289 MB / 13.93 MB Notification: Performance of collectPreVariables (initialization): time 8.988e-06/0.005026, allocations: 25.7 kB / 25.93 MB, free: 1.258 MB / 13.93 MB Notification: Performance of collectInitialEqns (initialization): time 3.28e-05/0.005068, allocations: 92.08 kB / 26.02 MB, free: 1.164 MB / 13.93 MB Notification: Performance of collectInitialBindings (initialization): time 8.697e-06/0.005086, allocations: 8 kB / 26.02 MB, free: 1.156 MB / 13.93 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.4e-06/0.0051, allocations: 0 / 26.02 MB, free: 1.156 MB / 13.93 MB Notification: Performance of setup shared object (initialization): time 5.185e-05/0.00516, allocations: 310.8 kB / 26.33 MB, free: 0.8438 MB / 13.93 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.178e-05/0.005201, allocations: 15.92 kB / 26.34 MB, free: 0.8281 MB / 13.93 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.717e-05/0.005248, allocations: 21.72 kB / 26.36 MB, free: 0.8008 MB / 13.93 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.864e-05/0.005307, allocations: 37.69 kB / 26.4 MB, free: 0.7578 MB / 13.93 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.005321, allocations: 4 kB / 26.4 MB, free: 0.7539 MB / 13.93 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001432/0.005472, allocations: 87.25 kB / 26.49 MB, free: 0.6562 MB / 13.93 MB Notification: Performance of prepare postOptimizeDAE: time 2.762e-05/0.005513, allocations: 41.62 kB / 26.53 MB, free: 0.6094 MB / 13.93 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.005527, allocations: 0 / 26.53 MB, free: 0.6094 MB / 13.93 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.213e-05/0.005547, allocations: 0 / 26.53 MB, free: 0.6094 MB / 13.93 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.919e-05/0.005644, allocations: 9.5 kB / 26.54 MB, free: 0.6016 MB / 13.93 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.112e-06/0.005661, allocations: 0 / 26.54 MB, free: 0.6016 MB / 13.93 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.912e-05/0.005729, allocations: 8 kB / 26.55 MB, free: 0.5938 MB / 13.93 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.567e-05/0.005755, allocations: 3.984 kB / 26.55 MB, free: 0.5898 MB / 13.93 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.67e-05/0.00584, allocations: 144.1 kB / 26.69 MB, free: 444 kB / 13.93 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.172e-05/0.005883, allocations: 7.953 kB / 26.7 MB, free: 436 kB / 13.93 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.022e-05/0.005912, allocations: 7.891 kB / 26.71 MB, free: 420 kB / 13.93 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.005923, allocations: 3.938 kB / 26.71 MB, free: 416 kB / 13.93 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.005936, allocations: 0 / 26.71 MB, free: 416 kB / 13.93 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.005947, allocations: 0 / 26.71 MB, free: 416 kB / 13.93 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000146/0.0061, allocations: 165.6 kB / 26.87 MB, free: 200 kB / 13.93 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.006114, allocations: 0 / 26.87 MB, free: 200 kB / 13.93 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.639e-05/0.006138, allocations: 128 / 26.87 MB, free: 200 kB / 13.93 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.00615, allocations: 0 / 26.87 MB, free: 200 kB / 13.93 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.002e-05/0.006167, allocations: 11.95 kB / 26.88 MB, free: 188 kB / 13.93 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.006178, allocations: 4 kB / 26.89 MB, free: 184 kB / 13.93 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.006188, allocations: 0 / 26.89 MB, free: 184 kB / 13.93 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001716/0.006367, allocations: 169.2 kB / 27.05 MB, free: 4.645 MB / 18.58 MB Notification: Performance of postOpt removeConstants (simulation): time 6.294e-05/0.006445, allocations: 81.11 kB / 27.13 MB, free: 4.547 MB / 18.58 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.966e-05/0.006474, allocations: 0 / 27.13 MB, free: 4.547 MB / 18.58 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.322e-05/0.006556, allocations: 7.938 kB / 27.14 MB, free: 4.539 MB / 18.58 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.972e-05/0.006586, allocations: 0 / 27.14 MB, free: 4.539 MB / 18.58 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.288e-06/0.006605, allocations: 11.03 kB / 27.15 MB, free: 4.531 MB / 18.58 MB Notification: Performance of sorting global known variables: time 6.357e-05/0.006677, allocations: 87.58 kB / 27.24 MB, free: 4.445 MB / 18.58 MB Notification: Performance of sort global known variables: time 3.61e-07/0.006688, allocations: 0 / 27.24 MB, free: 4.445 MB / 18.58 MB Notification: Performance of remove unused functions: time 0.0003317/0.00703, allocations: 19.98 kB / 27.26 MB, free: 4.426 MB / 18.58 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 (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.0005269/0.007567, allocations: 0.7065 MB / 27.96 MB, free: 3.688 MB / 18.58 MB Notification: Performance of simCode: created initialization part: time 0.0001506/0.007735, allocations: 79.42 kB / 28.04 MB, free: 3.598 MB / 18.58 MB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.007752, allocations: 0 / 28.04 MB, free: 3.598 MB / 18.58 MB Notification: Performance of simCode: created simulation system equations: time 5.832e-05/0.007818, allocations: 59.41 kB / 28.1 MB, free: 3.527 MB / 18.58 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000169/0.007999, allocations: 7.953 kB / 28.11 MB, free: 3.52 MB / 18.58 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008416/0.008851, allocations: 0.5301 MB / 28.64 MB, free: 2.938 MB / 18.58 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002985/0.009167, allocations: 0.6809 MB / 29.32 MB, free: 2.23 MB / 18.58 MB Notification: Performance of simCode: alias equations: time 0.0001297/0.009308, allocations: 35.89 kB / 29.35 MB, free: 2.195 MB / 18.58 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.119e-05/0.00938, allocations: 23.36 kB / 29.38 MB, free: 2.172 MB / 18.58 MB Notification: Performance of SimCode: time 6.31e-07/0.009391, allocations: 0 / 29.38 MB, free: 2.172 MB / 18.58 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01888/0.02828, allocations: 1.195 MB / 30.57 MB, free: 1 MB / 18.58 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003473/0.0287, allocations: 149.6 kB / 30.72 MB, free: 0.7539 MB / 18.58 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.199/2.227, allocations: 4 kB / 30.72 MB, free: 0.75 MB / 18.58 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)