Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Limiters.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Blocks.Limiters,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Blocks_Limiters",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.Limiters,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Blocks_Limiters",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009568/0.0009567, allocations: 176.1 kB / 16.72 MB, free: 4.953 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.155/1.155, allocations: 205.4 MB / 222.9 MB, free: 9.012 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006429/0.0006428, allocations: 97.33 kB / 271.2 MB, free: 8.227 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2877/0.2877, allocations: 43.57 MB / 363.1 MB, free: 52.2 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003279/0.0003279, allocations: 16 kB / 432.1 MB, free: 5.707 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09597/0.09631, allocations: 58.84 MB / 490.9 MB, free: 10.79 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Limiters): time 0.001407/0.09774, allocations: 1.376 MB / 492.3 MB, free: 9.402 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007722/0.09852, allocations: 0.609 MB / 492.9 MB, free: 8.785 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.856e-05/0.09859, allocations: 7.938 kB / 492.9 MB, free: 8.777 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 1.526e-05/0.09862, allocations: 7.922 kB / 492.9 MB, free: 8.77 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 6.336e-05/0.09869, allocations: 11.86 kB / 492.9 MB, free: 8.758 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003157/0.09901, allocations: 123.8 kB / 493 MB, free: 8.637 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001321/0.09915, allocations: 131.7 kB / 493.2 MB, free: 8.508 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.459e-05/0.09923, allocations: 33.09 kB / 493.2 MB, free: 8.473 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.479e-05/0.09932, allocations: 55.77 kB / 493.3 MB, free: 8.418 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.655e-05/0.09939, allocations: 55.75 kB / 493.3 MB, free: 8.363 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.07e-05/0.09942, allocations: 4 kB / 493.3 MB, free: 8.359 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.653e-05/0.09944, allocations: 8 kB / 493.3 MB, free: 8.352 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 2.668e-05/0.09948, allocations: 31.84 kB / 493.4 MB, free: 8.32 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.079e-05/0.09953, allocations: 73.42 kB / 493.4 MB, free: 8.242 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 9.064e-05/0.09963, allocations: 100 kB / 493.5 MB, free: 8.145 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.445e-06/0.09964, allocations: 0 / 493.5 MB, free: 8.145 MB / 378.7 MB Notification: Performance of FrontEnd: time 6.81e-07/0.09965, allocations: 7.938 kB / 493.5 MB, free: 8.137 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.474e-06/0.09965, allocations: 0 / 493.5 MB, free: 8.137 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.0004745/0.1001, allocations: 447 kB / 494 MB, free: 7.652 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.314e-05/0.1002, allocations: 12.03 kB / 494 MB, free: 7.641 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.003e-05/0.1002, allocations: 34.75 kB / 494 MB, free: 7.598 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.024e-05/0.1002, allocations: 16.75 kB / 494 MB, free: 7.582 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001768/0.1004, allocations: 228 kB / 494.3 MB, free: 7.32 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.294e-06/0.1004, allocations: 4.375 kB / 494.3 MB, free: 7.316 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.706e-05/0.1005, allocations: 8.375 kB / 494.3 MB, free: 7.309 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003787/0.1008, allocations: 203.7 kB / 494.5 MB, free: 7.098 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.489e-05/0.1009, allocations: 8 kB / 494.5 MB, free: 7.09 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.025e-05/0.1009, allocations: 7.984 kB / 494.5 MB, free: 7.082 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.94e-06/0.1009, allocations: 4 kB / 494.5 MB, free: 7.078 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000423/0.1013, allocations: 151.9 kB / 494.6 MB, free: 6.93 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008359/0.1022, allocations: 480.2 kB / 495.1 MB, free: 6.41 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000616/0.1028, allocations: 238.5 kB / 495.3 MB, free: 6.168 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002347/0.103, allocations: 92.8 kB / 495.4 MB, free: 6.074 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.325e-05/0.1031, allocations: 16.06 kB / 495.4 MB, free: 6.059 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.507e-05/0.1031, allocations: 34.56 kB / 495.5 MB, free: 6.016 MB / 378.7 MB Notification: Performance of pre-optimization done (n=8): time 1.283e-06/0.1031, allocations: 0 / 495.5 MB, free: 6.016 MB / 378.7 MB Notification: Performance of matching and sorting (n=9): time 0.001489/0.1046, allocations: 0.6579 MB / 496.1 MB, free: 5.305 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.109e-05/0.1047, allocations: 102.8 kB / 496.2 MB, free: 5.18 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001196/0.1048, allocations: 166.4 kB / 496.4 MB, free: 5.008 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.087e-05/0.1048, allocations: 29.7 kB / 496.4 MB, free: 4.973 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.853e-05/0.1049, allocations: 108 kB / 496.5 MB, free: 4.863 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.96e-05/0.105, allocations: 31.55 kB / 496.6 MB, free: 4.832 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.286e-06/0.105, allocations: 4 kB / 496.6 MB, free: 4.828 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.413e-05/0.1051, allocations: 322.8 kB / 496.9 MB, free: 4.504 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002236/0.1053, allocations: 87.88 kB / 497 MB, free: 4.418 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002263/0.1055, allocations: 114.5 kB / 497.1 MB, free: 4.297 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004156/0.106, allocations: 172.8 kB / 497.2 MB, free: 4.125 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.92e-07/0.106, allocations: 0 / 497.2 MB, free: 4.125 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004802/0.1065, allocations: 221.4 kB / 497.5 MB, free: 3.902 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.34e-05/0.1065, allocations: 92.94 kB / 497.6 MB, free: 3.805 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.1065, allocations: 0 / 497.6 MB, free: 3.805 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.968e-05/0.1065, allocations: 4 kB / 497.6 MB, free: 3.801 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001887/0.1067, allocations: 51.89 kB / 497.6 MB, free: 3.75 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.15e-06/0.1067, allocations: 0 / 497.6 MB, free: 3.75 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001405/0.1069, allocations: 39.97 kB / 497.7 MB, free: 3.711 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.245e-05/0.1069, allocations: 4 kB / 497.7 MB, free: 3.707 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.601e-06/0.1069, allocations: 4 kB / 497.7 MB, free: 3.703 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002048/0.1071, allocations: 91.89 kB / 497.7 MB, free: 3.613 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.302e-06/0.1071, allocations: 0 / 497.7 MB, free: 3.613 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-06/0.1072, allocations: 4 kB / 497.8 MB, free: 3.609 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.701e-05/0.1072, allocations: 27.97 kB / 497.8 MB, free: 3.582 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.573e-06/0.1073, allocations: 0.5469 kB / 497.8 MB, free: 3.582 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.624e-05/0.1073, allocations: 15.94 kB / 497.8 MB, free: 3.566 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.869e-06/0.1074, allocations: 4.312 kB / 497.8 MB, free: 3.562 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 0.0001032/0.1075, allocations: 205.1 kB / 498 MB, free: 3.352 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.651e-05/0.1075, allocations: 15.81 kB / 498 MB, free: 3.336 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.583e-05/0.1076, allocations: 9.406 kB / 498 MB, free: 3.324 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.935e-06/0.1076, allocations: 7.938 kB / 498 MB, free: 3.316 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.1076, allocations: 3.938 kB / 498 MB, free: 3.312 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.716e-06/0.1076, allocations: 0 / 498 MB, free: 3.312 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008385/0.1084, allocations: 0.5538 MB / 498.6 MB, free: 2.699 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.1084, allocations: 0 / 498.6 MB, free: 2.699 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001798/0.1086, allocations: 55.92 kB / 498.6 MB, free: 2.645 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/0.1086, allocations: 3.938 kB / 498.6 MB, free: 2.641 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.839e-06/0.1086, allocations: 0 / 498.6 MB, free: 2.641 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.1087, allocations: 0 / 498.6 MB, free: 2.641 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.245e-06/0.1087, allocations: 8 kB / 498.7 MB, free: 2.633 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007413/0.1094, allocations: 416 kB / 499.1 MB, free: 2.207 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.573e-05/0.1095, allocations: 92.98 kB / 499.2 MB, free: 2.098 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.149e-05/0.1095, allocations: 0 / 499.2 MB, free: 2.098 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002609/0.1098, allocations: 52.02 kB / 499.2 MB, free: 2.047 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.811e-05/0.1098, allocations: 11.98 kB / 499.2 MB, free: 2.035 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.193e-05/0.1098, allocations: 8 kB / 499.2 MB, free: 2.027 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.103e-05/0.1099, allocations: 123.2 kB / 499.3 MB, free: 1.906 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1099, allocations: 0 / 499.3 MB, free: 1.906 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002689/0.1102, allocations: 32 kB / 499.4 MB, free: 1.875 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.0009689/0.1112, allocations: 0.9589 MB / 0.4886 GB, free: 0.8867 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005697/0.1117, allocations: 240.2 kB / 0.4888 GB, free: 0.6523 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.1118, allocations: 0 / 0.4888 GB, free: 0.6523 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002225/0.112, allocations: 99.92 kB / 0.4889 GB, free: 0.5547 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003548/0.1123, allocations: 35.62 kB / 0.489 GB, free: 0.5234 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1561/0.2684, allocations: 1.037 MB / 0.49 GB, free: 42.95 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001277/0.2686, allocations: 0.7029 MB / 0.4907 GB, free: 42.25 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.686e-05/0.2687, allocations: 39.84 kB / 0.4907 GB, free: 42.25 MB / 378.7 MB Notification: Performance of SimCode: time 1.072e-06/0.2687, allocations: 1 kB / 0.4907 GB, free: 42.25 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.407/2.676, allocations: 2.062 MB / 0.4927 GB, free: 42.2 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Limiters.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Limiters.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Limiters.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Limiters.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Limiters_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Blocks_Limiters_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Blocks_Limiters.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Limiters.pipe 2>&1)