Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Blocks.Limiters.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Blocks.Limiters,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Blocks_Limiters",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.Limiters,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Blocks_Limiters",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009461/0.0009461, allocations: 200.2 kB / 16.1 MB, free: 5.703 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.239/1.239, allocations: 226.5 MB / 243.4 MB, free: 6.527 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007022/0.0007025, allocations: 94.02 kB / 295.5 MB, free: 6.703 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2729/0.2729, allocations: 44.82 MB / 392.3 MB, free: 35.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002413/0.0002413, allocations: 4 kB / 465.4 MB, free: 12.59 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2752/0.2754, allocations: 62.96 MB / 0.516 GB, free: 37.36 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Limiters): time 0.001328/0.2768, allocations: 1.371 MB / 0.5173 GB, free: 36.36 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007283/0.2775, allocations: 0.6028 MB / 0.5179 GB, free: 35.93 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.602e-05/0.2776, allocations: 6.938 kB / 0.5179 GB, free: 35.93 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 2.107e-05/0.2776, allocations: 3.938 kB / 0.5179 GB, free: 35.92 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 8.284e-05/0.2777, allocations: 11.34 kB / 0.5179 GB, free: 35.91 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003151/0.278, allocations: 121.3 kB / 0.518 GB, free: 35.86 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001286/0.2782, allocations: 127.8 kB / 0.5181 GB, free: 35.8 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.668e-05/0.2783, allocations: 33.23 kB / 0.5182 GB, free: 35.78 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001122/0.2784, allocations: 58.33 kB / 0.5182 GB, free: 35.75 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.754e-05/0.2785, allocations: 58.97 kB / 0.5183 GB, free: 35.73 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.158e-05/0.2785, allocations: 5.938 kB / 0.5183 GB, free: 35.73 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.01e-05/0.2786, allocations: 15.97 kB / 0.5183 GB, free: 35.72 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 2.293e-05/0.2786, allocations: 21.38 kB / 0.5183 GB, free: 35.71 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.781e-05/0.2787, allocations: 76.17 kB / 0.5184 GB, free: 35.65 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 9.666e-05/0.2788, allocations: 95.52 kB / 0.5185 GB, free: 35.62 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.2788, allocations: 0 / 0.5185 GB, free: 35.62 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.362e-06/0.2788, allocations: 0 / 0.5185 GB, free: 35.62 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.246e-06/0.2788, allocations: 10.47 kB / 0.5185 GB, free: 35.61 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0004881/0.2793, allocations: 439.8 kB / 0.5189 GB, free: 35.22 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.016e-05/0.2793, allocations: 15.02 kB / 0.5189 GB, free: 35.22 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.532e-05/0.2794, allocations: 37.41 kB / 0.519 GB, free: 35.18 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001287/0.2795, allocations: 26.84 kB / 0.519 GB, free: 35.17 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001639/0.2797, allocations: 226.8 kB / 0.5192 GB, free: 34.94 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.209e-05/0.2797, allocations: 3.031 kB / 0.5192 GB, free: 34.94 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.099e-05/0.2797, allocations: 13.53 kB / 0.5192 GB, free: 34.93 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003576/0.2801, allocations: 188.8 kB / 0.5194 GB, free: 34.84 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.978e-06/0.2801, allocations: 6.969 kB / 0.5194 GB, free: 34.84 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.702e-05/0.2801, allocations: 4 kB / 0.5194 GB, free: 34.83 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/0.2801, allocations: 6.859 kB / 0.5194 GB, free: 34.83 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003695/0.2805, allocations: 155.2 kB / 0.5196 GB, free: 34.8 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006708/0.2812, allocations: 466.4 kB / 0.52 GB, free: 34.47 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005533/0.2817, allocations: 248.5 kB / 0.5203 GB, free: 34.41 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002024/0.282, allocations: 89.41 kB / 0.5203 GB, free: 34.39 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.832e-05/0.282, allocations: 8.141 kB / 0.5203 GB, free: 34.38 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.776e-05/0.282, allocations: 37.34 kB / 0.5204 GB, free: 34.34 MB / 378.7 MB Notification: Performance of pre-optimization done (n=8): time 1.172e-06/0.282, allocations: 0 / 0.5204 GB, free: 34.34 MB / 378.7 MB Notification: Performance of matching and sorting (n=9): time 0.001301/0.2833, allocations: 0.6549 MB / 0.521 GB, free: 33.99 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.12e-05/0.2834, allocations: 109.7 kB / 0.5211 GB, free: 33.86 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.019e-05/0.2835, allocations: 154.8 kB / 0.5213 GB, free: 33.75 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.518e-05/0.2835, allocations: 25.7 kB / 0.5213 GB, free: 33.71 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.681e-05/0.2835, allocations: 116.5 kB / 0.5214 GB, free: 33.61 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.064e-05/0.2836, allocations: 33.25 kB / 0.5214 GB, free: 33.58 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.692e-06/0.2836, allocations: 0 / 0.5214 GB, free: 33.58 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.108e-05/0.2836, allocations: 328.6 kB / 0.5218 GB, free: 33.26 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002062/0.2838, allocations: 82.36 kB / 0.5218 GB, free: 33.25 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002122/0.284, allocations: 109.1 kB / 0.5219 GB, free: 33.21 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003938/0.2844, allocations: 180.5 kB / 0.5221 GB, free: 33.16 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.72e-07/0.2845, allocations: 0 / 0.5221 GB, free: 33.16 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004436/0.2849, allocations: 217.4 kB / 0.5223 GB, free: 33.1 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.128e-05/0.2849, allocations: 103 kB / 0.5224 GB, free: 33 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.606e-06/0.2849, allocations: 0 / 0.5224 GB, free: 33 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.145e-05/0.285, allocations: 0 / 0.5224 GB, free: 33 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001787/0.2851, allocations: 47.67 kB / 0.5225 GB, free: 32.99 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.178e-06/0.2852, allocations: 0 / 0.5225 GB, free: 32.99 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001354/0.2853, allocations: 35.17 kB / 0.5225 GB, free: 32.99 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.014e-05/0.2853, allocations: 2.906 kB / 0.5225 GB, free: 32.99 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.82e-06/0.2853, allocations: 2.719 kB / 0.5225 GB, free: 32.99 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001951/0.2855, allocations: 93.91 kB / 0.5226 GB, free: 32.96 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.092e-06/0.2855, allocations: 4 kB / 0.5226 GB, free: 32.96 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.503e-06/0.2855, allocations: 0 / 0.5226 GB, free: 32.96 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.662e-05/0.2856, allocations: 27.34 kB / 0.5226 GB, free: 32.96 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.325e-06/0.2856, allocations: 3.938 kB / 0.5226 GB, free: 32.96 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.601e-05/0.2857, allocations: 19.05 kB / 0.5226 GB, free: 32.95 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.98e-06/0.2857, allocations: 0 / 0.5226 GB, free: 32.95 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * 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.495e-05/0.2858, allocations: 198.9 kB / 0.5228 GB, free: 32.75 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.58e-05/0.2859, allocations: 16.53 kB / 0.5228 GB, free: 32.75 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.549e-05/0.2859, allocations: 19.5 kB / 0.5229 GB, free: 32.73 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.2859, allocations: 3.938 kB / 0.5229 GB, free: 32.73 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.636e-06/0.2859, allocations: 3.938 kB / 0.5229 GB, free: 32.73 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.2859, allocations: 0 / 0.5229 GB, free: 32.73 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007489/0.2867, allocations: 0.553 MB / 0.5234 GB, free: 32.35 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.2867, allocations: 2.812 kB / 0.5234 GB, free: 32.35 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001623/0.2869, allocations: 45.28 kB / 0.5235 GB, free: 32.34 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.2869, allocations: 3.234 kB / 0.5235 GB, free: 32.34 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.113e-05/0.2869, allocations: 4 kB / 0.5235 GB, free: 32.34 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.2869, allocations: 2.625 kB / 0.5235 GB, free: 32.34 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.2869, allocations: 3.938 kB / 0.5235 GB, free: 32.34 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006806/0.2876, allocations: 422.4 kB / 0.5239 GB, free: 32.13 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.463e-05/0.2876, allocations: 86.3 kB / 0.524 GB, free: 32.03 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.163e-05/0.2876, allocations: 0 / 0.524 GB, free: 32.03 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002633/0.2879, allocations: 57.56 kB / 0.524 GB, free: 32.02 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.499e-05/0.288, allocations: 12.98 kB / 0.524 GB, free: 32.02 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.326e-05/0.288, allocations: 5.531 kB / 0.524 GB, free: 32.02 MB / 378.7 MB Notification: Performance of sorting global known variables: time 5.46e-05/0.288, allocations: 121.7 kB / 0.5241 GB, free: 31.93 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.288, allocations: 0 / 0.5241 GB, free: 31.93 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002759/0.2883, allocations: 32.5 kB / 0.5242 GB, free: 31.93 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (idealDerivative.u) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * 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.0008124/0.2891, allocations: 0.9456 MB / 0.5251 GB, free: 31.19 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005434/0.2897, allocations: 241.9 kB / 0.5253 GB, free: 31.14 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.2897, allocations: 2.969 kB / 0.5253 GB, free: 31.14 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002115/0.2899, allocations: 102.9 kB / 0.5254 GB, free: 31.12 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003553/0.2903, allocations: 35.39 kB / 0.5255 GB, free: 31.11 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001502/0.2918, allocations: 1.005 MB / 0.5264 GB, free: 30.55 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001109/0.2919, allocations: 0.7054 MB / 0.5271 GB, free: 29.85 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.22e-05/0.292, allocations: 40.2 kB / 0.5272 GB, free: 29.82 MB / 378.7 MB Notification: Performance of SimCode: time 2.21e-07/0.292, allocations: 2.281 kB / 0.5272 GB, free: 29.82 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.456/2.748, allocations: 1.98 MB / 0.5291 GB, free: 29.67 MB / 378.7 MB (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Blocks.Limiters.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Blocks.Limiters.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Blocks.Limiters.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Blocks.Limiters.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_cpp_ModelicaTest.Blocks.Limiters_res.mat --tempDir=temp_ModelicaTest_trunk_cpp_ModelicaTest_Blocks_Limiters_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_cpp_ModelicaTest_Blocks_Limiters.fmu > ModelicaTest_trunk_cpp_ModelicaTest.Blocks.Limiters.pipe 2>&1)