Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ConPNlib_ConPNlib.Examples.Test1a.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.Test1a,fileNamePrefix="ConPNlib_ConPNlib_Examples_Test1a",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ConPNlib.Examples.Test1a,fileNamePrefix="ConPNlib_ConPNlib_Examples_Test1a",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ConPNlib master/package.mo): time 0.01538/0.01538, allocations: 1.362 MB / 16.61 MB, free: 5.105 MB / 13.93 MB Notification: Performance of FrontEnd - loaded program: time 1.734e-05/1.745e-05, allocations: 0 / 23.76 MB, free: 3.695 MB / 13.93 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0006341/0.0006787, allocations: 359.4 kB / 24.11 MB, free: 3.352 MB / 13.93 MB Notification: Performance of NFInst.instantiate(ConPNlib.Examples.Test1a): time 0.0007752/0.001471, allocations: 472.4 kB / 24.57 MB, free: 2.895 MB / 13.93 MB Notification: Performance of NFInst.instExpressions: time 0.0007975/0.002286, allocations: 461.2 kB / 25.02 MB, free: 2.445 MB / 13.93 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001292/0.002433, allocations: 7.938 kB / 25.03 MB, free: 2.438 MB / 13.93 MB Notification: Performance of NFTyping.typeComponents: time 0.0001508/0.0026, allocations: 17.16 kB / 25.05 MB, free: 2.422 MB / 13.93 MB Notification: Performance of NFTyping.typeBindings: time 0.0005134/0.003124, allocations: 140.2 kB / 25.18 MB, free: 2.285 MB / 13.93 MB Notification: Performance of NFTyping.typeClassSections: time 3.593e-05/0.003172, allocations: 10.06 kB / 25.19 MB, free: 2.277 MB / 13.93 MB Notification: Performance of NFFlatten.flatten: time 0.0001053/0.003286, allocations: 63.81 kB / 25.26 MB, free: 2.215 MB / 13.93 MB Notification: Performance of NFFlatten.resolveConnections: time 4.823e-05/0.003342, allocations: 8.703 kB / 25.26 MB, free: 2.203 MB / 13.93 MB Notification: Performance of NFEvalConstants.evaluate: time 3.924e-05/0.003387, allocations: 19.86 kB / 25.28 MB, free: 2.184 MB / 13.93 MB Notification: Performance of NFSimplifyModel.simplify: time 6.49e-05/0.00346, allocations: 23.23 kB / 25.31 MB, free: 2.164 MB / 13.93 MB Notification: Performance of NFPackage.collectConstants: time 1.108e-05/0.003478, allocations: 4 kB / 25.31 MB, free: 2.16 MB / 13.93 MB Notification: Performance of NFFlatten.collectFunctions: time 7.937e-05/0.003562, allocations: 15.98 kB / 25.33 MB, free: 2.145 MB / 13.93 MB Notification: Performance of NFScalarize.scalarize: time 2.289e-05/0.003592, allocations: 15.86 kB / 25.34 MB, free: 2.129 MB / 13.93 MB Notification: Performance of NFVerifyModel.verify: time 2.572e-05/0.003623, allocations: 15.92 kB / 25.36 MB, free: 2.113 MB / 13.93 MB Notification: Performance of NFConvertDAE.convert: time 0.000108/0.003736, allocations: 39.83 kB / 25.4 MB, free: 2.074 MB / 13.93 MB Notification: Performance of FrontEnd - DAE generated: time 2.876e-06/0.003746, allocations: 0 / 25.4 MB, free: 2.074 MB / 13.93 MB Notification: Performance of FrontEnd: time 9.72e-07/0.003753, allocations: 0 / 25.4 MB, free: 2.074 MB / 13.93 MB Notification: Performance of Transformations before backend: time 3.897e-06/0.003762, allocations: 0 / 25.4 MB, free: 2.074 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.0003197/0.004087, allocations: 346.4 kB / 25.73 MB, free: 1.688 MB / 13.93 MB Notification: Performance of prepare preOptimizeDAE: time 4.109e-05/0.004135, allocations: 8.312 kB / 25.74 MB, free: 1.68 MB / 13.93 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.164e-05/0.004173, allocations: 37.94 kB / 25.78 MB, free: 1.637 MB / 13.93 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.134e-05/0.00421, allocations: 4.938 kB / 25.78 MB, free: 1.633 MB / 13.93 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001102/0.004325, allocations: 177.5 kB / 25.96 MB, free: 1.422 MB / 13.93 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.185e-05/0.004354, allocations: 8.375 kB / 25.97 MB, free: 1.414 MB / 13.93 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.648e-05/0.004376, allocations: 384 / 25.97 MB, free: 1.414 MB / 13.93 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001609/0.004541, allocations: 85.61 kB / 26.05 MB, free: 1.312 MB / 13.93 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.00456, allocations: 3.938 kB / 26.05 MB, free: 1.309 MB / 13.93 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.147e-05/0.004577, allocations: 0 / 26.05 MB, free: 1.309 MB / 13.93 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/0.004588, allocations: 5.547 kB / 26.06 MB, free: 1.305 MB / 13.93 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.134e-05/0.004674, allocations: 31.91 kB / 26.09 MB, free: 1.273 MB / 13.93 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003639/0.005045, allocations: 0.5737 MB / 26.66 MB, free: 0.6055 MB / 13.93 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001031/0.005159, allocations: 75.78 kB / 26.74 MB, free: 0.5039 MB / 13.93 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.443e-05/0.005213, allocations: 34.62 kB / 26.77 MB, free: 472 kB / 13.93 MB Notification: Performance of preOpt evalFunc (simulation): time 4.708e-05/0.005267, allocations: 81.11 kB / 26.85 MB, free: 372 kB / 13.93 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.025e-05/0.005294, allocations: 40 kB / 26.89 MB, free: 324 kB / 13.93 MB Notification: Performance of pre-optimization done (n=4): time 1.202e-06/0.0053, allocations: 0 / 26.89 MB, free: 324 kB / 13.93 MB Notification: Performance of matching and sorting (n=4): time 0.0002512/0.005557, allocations: 89.59 kB / 26.98 MB, free: 228 kB / 13.93 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.138e-05/0.005607, allocations: 132.5 kB / 27.11 MB, free: 64 kB / 13.93 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.339e-05/0.005706, allocations: 114 kB / 27.22 MB, free: 4.621 MB / 18.61 MB Notification: Performance of collectPreVariables (initialization): time 1.518e-05/0.005728, allocations: 29.7 kB / 27.25 MB, free: 4.586 MB / 18.61 MB Notification: Performance of collectInitialEqns (initialization): time 5.276e-05/0.005786, allocations: 88.03 kB / 27.33 MB, free: 4.496 MB / 18.61 MB Notification: Performance of collectInitialBindings (initialization): time 1.91e-05/0.005812, allocations: 28.05 kB / 27.36 MB, free: 4.469 MB / 18.61 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.545e-05/0.005843, allocations: 9.719 kB / 27.37 MB, free: 4.453 MB / 18.61 MB Notification: Performance of setup shared object (initialization): time 0.0001006/0.005948, allocations: 322.8 kB / 27.69 MB, free: 4.129 MB / 18.61 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.071e-05/0.006005, allocations: 12.66 kB / 27.7 MB, free: 4.117 MB / 18.61 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.818e-05/0.006081, allocations: 48.28 kB / 27.74 MB, free: 4.055 MB / 18.61 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001098/0.006198, allocations: 75.31 kB / 27.82 MB, free: 3.969 MB / 18.61 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.006208, allocations: 0 / 27.82 MB, free: 3.969 MB / 18.61 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001967/0.00641, allocations: 88.11 kB / 27.9 MB, free: 3.879 MB / 18.61 MB Notification: Performance of prepare postOptimizeDAE: time 1.876e-05/0.00644, allocations: 8 kB / 27.91 MB, free: 3.871 MB / 18.61 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.521e-06/0.006451, allocations: 0 / 27.91 MB, free: 3.871 MB / 18.61 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.151e-05/0.006467, allocations: 1.781 kB / 27.91 MB, free: 3.871 MB / 18.61 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.028e-05/0.006552, allocations: 15.98 kB / 27.93 MB, free: 3.855 MB / 18.61 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.144e-06/0.006567, allocations: 3.938 kB / 27.93 MB, free: 3.852 MB / 18.61 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.769e-05/0.00663, allocations: 11.98 kB / 27.94 MB, free: 3.84 MB / 18.61 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.492e-05/0.006651, allocations: 4 kB / 27.95 MB, free: 3.836 MB / 18.61 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 2 (P1.feeding,P1.emptying) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * 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 9.965e-05/0.006757, allocations: 122.6 kB / 28.07 MB, free: 3.707 MB / 18.61 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.029e-05/0.006823, allocations: 3.906 kB / 28.07 MB, free: 3.703 MB / 18.61 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.851e-05/0.00689, allocations: 15.88 kB / 28.09 MB, free: 3.68 MB / 18.61 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.006898, allocations: 0 / 28.09 MB, free: 3.68 MB / 18.61 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.00691, allocations: 4 kB / 28.09 MB, free: 3.676 MB / 18.61 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.006917, allocations: 0 / 28.09 MB, free: 3.676 MB / 18.61 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003131/0.007234, allocations: 173.6 kB / 28.26 MB, free: 3.457 MB / 18.61 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.007247, allocations: 4 kB / 28.27 MB, free: 3.453 MB / 18.61 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.248e-05/0.007294, allocations: 4 kB / 28.27 MB, free: 3.449 MB / 18.61 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.007306, allocations: 4 kB / 28.27 MB, free: 3.445 MB / 18.61 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.113e-05/0.007321, allocations: 7.984 kB / 28.28 MB, free: 3.438 MB / 18.61 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.007328, allocations: 0 / 28.28 MB, free: 3.438 MB / 18.61 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.484e-06/0.007335, allocations: 4.094 kB / 28.28 MB, free: 3.434 MB / 18.61 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002836/0.007623, allocations: 333.9 kB / 28.61 MB, free: 3.09 MB / 18.61 MB Notification: Performance of postOpt removeConstants (simulation): time 3.865e-05/0.007674, allocations: 84.56 kB / 28.69 MB, free: 2.992 MB / 18.61 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.62e-05/0.007697, allocations: 4.031 kB / 28.7 MB, free: 2.988 MB / 18.61 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001267/0.007828, allocations: 4 kB / 28.7 MB, free: 2.984 MB / 18.61 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.024e-05/0.007866, allocations: 15.92 kB / 28.72 MB, free: 2.969 MB / 18.61 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.459e-06/0.007876, allocations: 0 / 28.72 MB, free: 2.969 MB / 18.61 MB Notification: Performance of sorting global known variables: time 4.895e-05/0.007929, allocations: 87.33 kB / 28.8 MB, free: 2.883 MB / 18.61 MB Notification: Performance of sort global known variables: time 1.2e-07/0.007936, allocations: 7.938 kB / 28.81 MB, free: 2.875 MB / 18.61 MB Notification: Performance of remove unused functions: time 0.000286/0.008227, allocations: 16 kB / 28.83 MB, free: 2.859 MB / 18.61 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (P1.t_) * Number of discrete variables: 2 (P1.feeding,P1.emptying) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * 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.0004999/0.008732, allocations: 0.8678 MB / 29.69 MB, free: 1.965 MB / 18.61 MB Notification: Performance of simCode: created initialization part: time 0.0001468/0.00889, allocations: 47.91 kB / 29.74 MB, free: 1.918 MB / 18.61 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.008901, allocations: 0 / 29.74 MB, free: 1.918 MB / 18.61 MB Notification: Performance of simCode: created simulation system equations: time 5.319e-05/0.008959, allocations: 24.25 kB / 29.76 MB, free: 1.895 MB / 18.61 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003792/0.009346, allocations: 11.98 kB / 29.78 MB, free: 1.883 MB / 18.61 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001479/0.01083, allocations: 1.54 MB / 31.32 MB, free: 248 kB / 18.61 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005847/0.0167, allocations: 0.6818 MB / 32 MB, free: 6.738 MB / 18.61 MB Notification: Performance of simCode: alias equations: time 9.787e-05/0.01682, allocations: 39.88 kB / 32.04 MB, free: 6.734 MB / 18.61 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.455e-05/0.01689, allocations: 28.06 kB / 32.06 MB, free: 6.727 MB / 18.61 MB Notification: Performance of SimCode: time 7.41e-07/0.0169, allocations: 0 / 32.06 MB, free: 6.727 MB / 18.61 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01028/0.02718, allocations: 1.603 MB / 33.67 MB, free: 6.094 MB / 18.61 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001239/0.02735, allocations: 165.3 kB / 33.83 MB, free: 5.84 MB / 18.61 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.841/1.869, allocations: 0 / 33.83 MB, free: 5.84 MB / 18.61 MB (rm -f ConPNlib_ConPNlib.Examples.Test1a.pipe ; mkfifo ConPNlib_ConPNlib.Examples.Test1a.pipe ; head -c 1048576 < ConPNlib_ConPNlib.Examples.Test1a.pipe >> ../files/ConPNlib_ConPNlib.Examples.Test1a.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ConPNlib_ConPNlib_Examples_Test1a_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ConPNlib_ConPNlib_Examples_Test1a.fmu > ConPNlib_ConPNlib.Examples.Test1a.pipe 2>&1)