Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStrings.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001321/0.001321, allocations: 114.3 kB / 17.13 MB, free: 5.914 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00131/0.00131, allocations: 191.7 kB / 20.07 MB, free: 2.984 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.495/1.495, allocations: 207.6 MB / 230.5 MB, free: 4.043 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3581/0.3581, allocations: 44.22 MB / 326.5 MB, free: 6.82 MB / 254.1 MB " [Timeout remaining time 180] 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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Utilities.TestStrings,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Utilities_TestStrings",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Utilities.TestStrings,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Utilities_TestStrings",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002405/0.002405, allocations: 71.88 kB / 462.1 MB, free: 0.957 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.272/0.2744, allocations: 60.99 MB / 0.5109 GB, free: 13.28 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestStrings): time 0.001503/0.2759, allocations: 0.4981 MB / 0.5114 GB, free: 12.91 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001878/0.2778, allocations: 1.303 MB / 0.5126 GB, free: 11.93 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.472e-05/0.2778, allocations: 3.938 kB / 0.5126 GB, free: 11.92 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.607e-05/0.2778, allocations: 0 / 0.5126 GB, free: 11.92 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 4.899e-06/0.2778, allocations: 0 / 0.5126 GB, free: 11.92 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00124/0.279, allocations: 0.5812 MB / 0.5132 GB, free: 11.57 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 4.931e-05/0.2791, allocations: 0 / 0.5132 GB, free: 11.57 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.244e-05/0.2791, allocations: 6 kB / 0.5132 GB, free: 11.56 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.607e-05/0.2792, allocations: 0 / 0.5132 GB, free: 11.56 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.006e-05/0.2792, allocations: 1.75 kB / 0.5132 GB, free: 11.56 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.851e-06/0.2792, allocations: 0 / 0.5132 GB, free: 11.56 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01601/0.2952, allocations: 2.536 MB / 0.5157 GB, free: 10.1 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.291e-05/0.2952, allocations: 0 / 0.5157 GB, free: 10.1 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.909e-05/0.2952, allocations: 5.312 kB / 0.5157 GB, free: 10.1 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004181/0.2957, allocations: 162.5 kB / 0.5158 GB, free: 9.98 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.2957, allocations: 4 kB / 0.5159 GB, free: 9.977 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.2957, allocations: 0 / 0.5159 GB, free: 9.977 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.223e-06/0.2957, allocations: 0 / 0.5159 GB, free: 9.977 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003293/0.296, allocations: 384.9 kB / 0.5162 GB, free: 9.547 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.11e-05/0.296, allocations: 11.89 kB / 0.5162 GB, free: 9.535 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.612e-05/0.2961, allocations: 30.75 kB / 0.5163 GB, free: 9.496 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.348e-05/0.2961, allocations: 4.938 kB / 0.5163 GB, free: 9.492 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.587e-05/0.2962, allocations: 164.4 kB / 0.5164 GB, free: 9.293 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.3e-05/0.2962, allocations: 384 / 0.5164 GB, free: 9.293 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.594e-06/0.2962, allocations: 384 / 0.5164 GB, free: 9.293 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.037e-05/0.2963, allocations: 37.64 kB / 0.5165 GB, free: 9.25 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.2963, allocations: 0 / 0.5165 GB, free: 9.25 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.817e-06/0.2963, allocations: 0 / 0.5165 GB, free: 9.25 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.07e-06/0.2963, allocations: 3.938 kB / 0.5165 GB, free: 9.246 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.026e-05/0.2963, allocations: 3.938 kB / 0.5165 GB, free: 9.242 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001034/0.2964, allocations: 153.7 kB / 0.5166 GB, free: 9.043 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.701e-05/0.2964, allocations: 14.58 kB / 0.5166 GB, free: 9.02 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.369e-05/0.2964, allocations: 8.859 kB / 0.5166 GB, free: 9.008 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.778e-06/0.2965, allocations: 3.938 kB / 0.5166 GB, free: 9.004 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.081e-05/0.2965, allocations: 60.33 kB / 0.5167 GB, free: 8.93 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 9.32e-07/0.2965, allocations: 0 / 0.5167 GB, free: 8.93 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001741/0.2967, allocations: 71.33 kB / 0.5168 GB, free: 8.848 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.665e-05/0.2967, allocations: 77.11 kB / 0.5168 GB, free: 8.754 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.366e-05/0.2967, allocations: 89.86 kB / 0.5169 GB, free: 8.656 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.135e-06/0.2967, allocations: 25.83 kB / 0.5169 GB, free: 8.625 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.338e-05/0.2968, allocations: 84.14 kB / 0.517 GB, free: 8.539 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.241e-05/0.2968, allocations: 3.953 kB / 0.517 GB, free: 8.535 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.382e-05/0.2968, allocations: 13.72 kB / 0.517 GB, free: 8.516 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.124e-05/0.2969, allocations: 314.8 kB / 0.5173 GB, free: 8.199 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.558e-06/0.2969, allocations: 7.938 kB / 0.5174 GB, free: 8.191 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.372e-06/0.2969, allocations: 4 kB / 0.5174 GB, free: 8.188 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.648e-05/0.2969, allocations: 60.25 kB / 0.5174 GB, free: 8.113 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.2969, allocations: 4.062 kB / 0.5174 GB, free: 8.109 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.844e-05/0.297, allocations: 67.28 kB / 0.5175 GB, free: 8.031 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.492e-05/0.297, allocations: 33.7 kB / 0.5175 GB, free: 7.992 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.139e-06/0.297, allocations: 0 / 0.5175 GB, free: 7.992 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.743e-05/0.297, allocations: 0 / 0.5175 GB, free: 7.992 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.61e-07/0.297, allocations: 0 / 0.5175 GB, free: 7.992 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.518e-06/0.297, allocations: 0 / 0.5175 GB, free: 7.992 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.609e-05/0.297, allocations: 0 / 0.5175 GB, free: 7.992 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.314e-06/0.297, allocations: 3.984 kB / 0.5175 GB, free: 7.988 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * 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 5.618e-05/0.2971, allocations: 143.6 kB / 0.5177 GB, free: 7.832 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.057e-06/0.2971, allocations: 3.938 kB / 0.5177 GB, free: 7.828 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.114e-05/0.2971, allocations: 3.125 kB / 0.5177 GB, free: 7.82 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-06/0.2971, allocations: 0 / 0.5177 GB, free: 7.82 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/0.2971, allocations: 4 kB / 0.5177 GB, free: 7.816 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.2971, allocations: 0 / 0.5177 GB, free: 7.816 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.728e-05/0.2972, allocations: 145.7 kB / 0.5178 GB, free: 7.625 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.2972, allocations: 0 / 0.5178 GB, free: 7.625 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.052e-06/0.2972, allocations: 3.938 kB / 0.5178 GB, free: 7.621 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.2972, allocations: 0 / 0.5178 GB, free: 7.621 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.592e-06/0.2972, allocations: 8 kB / 0.5178 GB, free: 7.613 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.2972, allocations: 0 / 0.5178 GB, free: 7.613 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.2972, allocations: 3.984 kB / 0.5178 GB, free: 7.609 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.447e-05/0.2973, allocations: 90.77 kB / 0.5179 GB, free: 7.496 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.724e-05/0.2973, allocations: 88.98 kB / 0.518 GB, free: 7.391 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.245e-05/0.2973, allocations: 0 / 0.518 GB, free: 7.391 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.027e-05/0.2973, allocations: 0 / 0.518 GB, free: 7.391 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.208e-05/0.2973, allocations: 0 / 0.518 GB, free: 7.391 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.416e-06/0.2973, allocations: 8.016 kB / 0.518 GB, free: 7.383 MB / 382.1 MB Notification: Performance of sorting global known variables: time 1.648e-05/0.2973, allocations: 83.28 kB / 0.5181 GB, free: 7.301 MB / 382.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2973, allocations: 0 / 0.5181 GB, free: 7.301 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000345/0.2977, allocations: 67.8 kB / 0.5181 GB, free: 7.234 MB / 382.1 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 (result) * Number of discrete states: 1 (result) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * 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.001114/0.2988, allocations: 0.9095 MB / 0.519 GB, free: 6.285 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 9.473e-05/0.2989, allocations: 71.41 kB / 0.5191 GB, free: 6.203 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.2989, allocations: 0 / 0.5191 GB, free: 6.203 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.86e-05/0.2989, allocations: 55.39 kB / 0.5192 GB, free: 6.137 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001479/0.2991, allocations: 7.906 kB / 0.5192 GB, free: 6.129 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003232/0.2994, allocations: 154.2 kB / 0.5193 GB, free: 5.938 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001188/0.2995, allocations: 0.669 MB / 0.52 GB, free: 5.242 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.895e-06/0.2995, allocations: 0 / 0.52 GB, free: 5.242 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.748e-05/0.2995, allocations: 11.44 kB / 0.52 GB, free: 5.23 MB / 382.1 MB Notification: Performance of SimCode: time 3.01e-07/0.2995, allocations: 0 / 0.52 GB, free: 5.23 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02498/0.3245, allocations: 3.091 MB / 0.523 GB, free: 2.105 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.135/8.46, allocations: 4.859 kB / 0.523 GB, free: 2.102 MB / 382.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStrings.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStrings.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStrings.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStrings.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Utilities_TestStrings_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Utilities_TestStrings.fmu > ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStrings.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.139210871886462] Failed to read output from testmodel.py, exit status != 0: 8.52797707496211 8.542573573 8.243821151 Calling exit ...