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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001411/0.001411, allocations: 108.3 kB / 19.7 MB, free: 1.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001649/0.001649, allocations: 217.6 kB / 22.99 MB, free: 4.977 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.468/1.468, allocations: 207.7 MB / 233.8 MB, free: 9.789 MB / 190.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.2485/0.2485, allocations: 44.26 MB / 330.3 MB, free: 9.305 MB / 270.1 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002474/0.002474, allocations: 71.89 kB / 467.5 MB, free: 4.348 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1523/0.1547, allocations: 61.04 MB / 0.5161 GB, free: 7.184 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestStrings): time 0.002258/0.157, allocations: 499 kB / 0.5166 GB, free: 6.695 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003621/0.1606, allocations: 1.271 MB / 0.5178 GB, free: 5.418 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.916e-05/0.1606, allocations: 0 / 0.5178 GB, free: 5.418 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.719e-05/0.1607, allocations: 0 / 0.5178 GB, free: 5.418 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 5.901e-06/0.1607, allocations: 0 / 0.5178 GB, free: 5.418 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001609/0.1623, allocations: 0.5687 MB / 0.5184 GB, free: 4.848 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.733e-05/0.1623, allocations: 7.984 kB / 0.5184 GB, free: 4.84 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.606e-05/0.1624, allocations: 3.984 kB / 0.5184 GB, free: 4.836 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.446e-05/0.1624, allocations: 3.938 kB / 0.5184 GB, free: 4.832 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.154e-05/0.1624, allocations: 4 kB / 0.5184 GB, free: 4.828 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.312e-06/0.1624, allocations: 0 / 0.5184 GB, free: 4.828 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01757/0.18, allocations: 2.541 MB / 0.5209 GB, free: 2.344 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.36e-05/0.18, allocations: 0 / 0.5209 GB, free: 2.344 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.701e-05/0.18, allocations: 3.984 kB / 0.5209 GB, free: 2.34 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004718/0.1805, allocations: 159.7 kB / 0.5211 GB, free: 2.184 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.1805, allocations: 0 / 0.5211 GB, free: 2.184 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.334e-06/0.1805, allocations: 0 / 0.5211 GB, free: 2.184 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.724e-06/0.1805, allocations: 4 kB / 0.5211 GB, free: 2.18 MB / 398.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.0004278/0.1809, allocations: 315.8 kB / 0.5214 GB, free: 1.836 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.927e-05/0.181, allocations: 8.031 kB / 0.5214 GB, free: 1.828 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.146e-05/0.181, allocations: 34.75 kB / 0.5214 GB, free: 1.785 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.774e-05/0.1811, allocations: 0.9375 kB / 0.5214 GB, free: 1.785 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.647e-05/0.1811, allocations: 102.5 kB / 0.5215 GB, free: 1.66 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.768e-06/0.1812, allocations: 384 / 0.5215 GB, free: 1.66 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.157e-06/0.1812, allocations: 384 / 0.5215 GB, free: 1.66 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001148/0.1813, allocations: 63.33 kB / 0.5216 GB, free: 1.586 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.328e-05/0.1813, allocations: 7.938 kB / 0.5216 GB, free: 1.578 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.396e-06/0.1813, allocations: 0 / 0.5216 GB, free: 1.578 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.1813, allocations: 4 kB / 0.5216 GB, free: 1.574 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.7e-05/0.1814, allocations: 29.7 kB / 0.5216 GB, free: 1.539 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001371/0.1815, allocations: 116.8 kB / 0.5217 GB, free: 1.383 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.116e-05/0.1816, allocations: 44.31 kB / 0.5218 GB, free: 1.324 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.638e-05/0.1816, allocations: 34.55 kB / 0.5218 GB, free: 1.281 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.458e-06/0.1816, allocations: 3.938 kB / 0.5218 GB, free: 1.277 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.128e-05/0.1817, allocations: 64.33 kB / 0.5219 GB, free: 1.199 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 1.513e-06/0.1817, allocations: 0 / 0.5219 GB, free: 1.199 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002281/0.1819, allocations: 114.8 kB / 0.522 GB, free: 1.062 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.288e-05/0.182, allocations: 85.22 kB / 0.522 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.993e-05/0.182, allocations: 89.86 kB / 0.5221 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.707e-05/0.182, allocations: 29.64 kB / 0.5222 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.412e-05/0.1821, allocations: 84.14 kB / 0.5222 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.93e-05/0.1821, allocations: 7.953 kB / 0.5222 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.912e-05/0.1821, allocations: 9.719 kB / 0.5223 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001501/0.1823, allocations: 314.8 kB / 0.5226 GB, free: 412 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.312e-05/0.1823, allocations: 25.7 kB / 0.5226 GB, free: 380 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.004e-05/0.1823, allocations: 25.7 kB / 0.5226 GB, free: 348 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.706e-05/0.1824, allocations: 72.19 kB / 0.5227 GB, free: 260 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.1824, allocations: 4.062 kB / 0.5227 GB, free: 256 kB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.779e-05/0.1825, allocations: 89.05 kB / 0.5228 GB, free: 148 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.912e-05/0.1825, allocations: 33.7 kB / 0.5228 GB, free: 108 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.1825, allocations: 0 / 0.5228 GB, free: 108 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.29e-05/0.1826, allocations: 3.938 kB / 0.5228 GB, free: 104 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.282e-06/0.1826, allocations: 0 / 0.5228 GB, free: 104 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.1826, allocations: 3.984 kB / 0.5228 GB, free: 100 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.64e-05/0.1826, allocations: 0 / 0.5228 GB, free: 100 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.482e-06/0.1826, allocations: 0 / 0.5228 GB, free: 100 kB / 398.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 0.0001408/0.1827, allocations: 135.6 kB / 0.5229 GB, free: 15.95 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.143e-05/0.1827, allocations: 7.938 kB / 0.5229 GB, free: 15.94 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.159e-05/0.1827, allocations: 7 kB / 0.5229 GB, free: 15.94 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.1828, allocations: 0 / 0.5229 GB, free: 15.94 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.1828, allocations: 4 kB / 0.523 GB, free: 15.93 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.054e-06/0.1828, allocations: 0 / 0.523 GB, free: 15.93 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001132/0.1829, allocations: 116.8 kB / 0.5231 GB, free: 15.78 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.1829, allocations: 0 / 0.5231 GB, free: 15.78 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.276e-06/0.1829, allocations: 3.938 kB / 0.5231 GB, free: 15.77 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.464e-06/0.1829, allocations: 0 / 0.5231 GB, free: 15.77 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.214e-06/0.1829, allocations: 4 kB / 0.5231 GB, free: 15.77 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.1829, allocations: 7.938 kB / 0.5231 GB, free: 15.76 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1829, allocations: 0 / 0.5231 GB, free: 15.76 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001401/0.183, allocations: 120.5 kB / 0.5232 GB, free: 15.61 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.843e-06/0.183, allocations: 3.938 kB / 0.5232 GB, free: 15.61 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.296e-05/0.183, allocations: 0 / 0.5232 GB, free: 15.61 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.215e-05/0.1831, allocations: 8 kB / 0.5232 GB, free: 15.6 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.551e-05/0.1831, allocations: 0 / 0.5232 GB, free: 15.6 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.495e-06/0.1831, allocations: 0 / 0.5232 GB, free: 15.6 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.775e-05/0.1831, allocations: 79.22 kB / 0.5233 GB, free: 15.52 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1831, allocations: 0 / 0.5233 GB, free: 15.52 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003113/0.1834, allocations: 75.8 kB / 0.5234 GB, free: 15.45 MB / 414.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.001464/0.1849, allocations: 0.954 MB / 0.5243 GB, free: 14.45 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001275/0.185, allocations: 118.8 kB / 0.5244 GB, free: 14.31 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.081e-06/0.185, allocations: 0 / 0.5244 GB, free: 14.31 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 5.49e-05/0.1851, allocations: 77.11 kB / 0.5245 GB, free: 14.21 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001248/0.1852, allocations: 7.906 kB / 0.5245 GB, free: 14.21 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003948/0.1856, allocations: 172 kB / 0.5246 GB, free: 13.99 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.883e-05/0.1857, allocations: 63.28 kB / 0.5247 GB, free: 13.91 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.312e-06/0.1857, allocations: 0 / 0.5247 GB, free: 13.91 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.339e-05/0.1857, allocations: 7.438 kB / 0.5247 GB, free: 13.9 MB / 414.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1857, allocations: 4.125 kB / 0.5247 GB, free: 13.9 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03207/0.2178, allocations: 3.614 MB / 0.5282 GB, free: 10.25 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.29/11.5, allocations: 4 kB / 0.5282 GB, free: 10.24 MB / 414.1 MB " [Timeout remaining time 648] (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 & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStrings_res.csv --start-time 0 --stop-time 0 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0 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: 14.678916801232845] Failed to read output from testmodel.py, exit status != 0: 11.609489697963 11.829159061 11.644918607 Calling exit ...