Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Time.Examples.ModelTime.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.001284/0.001284, allocations: 108.9 kB / 16.46 MB, free: 6.453 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.001456/0.001456, allocations: 216.2 kB / 19.43 MB, free: 3.625 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.414/1.414, allocations: 230.6 MB / 252.8 MB, free: 8.996 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8372/0.8372, allocations: 133.9 MB / 442.8 MB, free: 11.33 MB / 350.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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(IDEAS.Utilities.Time.Examples.ModelTime,fileNamePrefix="IDEAS_IDEAS_Utilities_Time_Examples_ModelTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Time.Examples.ModelTime,fileNamePrefix="IDEAS_IDEAS_Utilities_Time_Examples_ModelTime",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 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.00193/0.00193, allocations: 69 kB / 0.6134 GB, free: 8.832 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1788/0.1807, allocations: 85.85 MB / 0.6972 GB, free: 3.055 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Examples.ModelTime): time 0.001932/0.1827, allocations: 0.5947 MB / 0.6978 GB, free: 2.461 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 4.586e-05/0.1827, allocations: 7.938 kB / 0.6978 GB, free: 2.453 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.271e-05/0.1827, allocations: 0 / 0.6978 GB, free: 2.453 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 2.924e-05/0.1828, allocations: 0 / 0.6978 GB, free: 2.453 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 6.653e-06/0.1828, allocations: 0 / 0.6978 GB, free: 2.453 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 3.563e-05/0.1828, allocations: 0 / 0.6978 GB, free: 2.453 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 5.001e-05/0.1828, allocations: 4 kB / 0.6978 GB, free: 2.449 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.72e-05/0.1829, allocations: 4 kB / 0.6978 GB, free: 2.445 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 1.745e-05/0.1829, allocations: 7.984 kB / 0.6978 GB, free: 2.438 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 1.753e-05/0.1829, allocations: 0 / 0.6978 GB, free: 2.438 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.011e-05/0.1829, allocations: 0 / 0.6978 GB, free: 2.438 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 3.045e-06/0.1829, allocations: 0 / 0.6978 GB, free: 2.438 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.242e-05/0.183, allocations: 0 / 0.6978 GB, free: 2.438 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.078e-05/0.183, allocations: 0 / 0.6978 GB, free: 2.438 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 5.314e-05/0.183, allocations: 0 / 0.6978 GB, free: 2.438 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.183, allocations: 0 / 0.6978 GB, free: 2.438 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.693e-06/0.183, allocations: 0 / 0.6978 GB, free: 2.438 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.221e-05/0.183, allocations: 8 kB / 0.6978 GB, free: 2.43 MB / 0.5137 GB 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.0003435/0.1834, allocations: 303.8 kB / 0.6981 GB, free: 2.082 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.493e-05/0.1834, allocations: 17.08 kB / 0.6981 GB, free: 2.066 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.815e-05/0.1835, allocations: 30.75 kB / 0.6982 GB, free: 2.027 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.16e-05/0.1835, allocations: 8.922 kB / 0.6982 GB, free: 2.02 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000126/0.1836, allocations: 168.3 kB / 0.6983 GB, free: 1.816 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.146e-05/0.1836, allocations: 384 / 0.6983 GB, free: 1.816 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.638e-06/0.1836, allocations: 384 / 0.6983 GB, free: 1.816 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.789e-05/0.1837, allocations: 34.27 kB / 0.6984 GB, free: 1.777 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.685e-05/0.1838, allocations: 3.938 kB / 0.6984 GB, free: 1.773 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.583e-06/0.1838, allocations: 0 / 0.6984 GB, free: 1.773 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.765e-06/0.1838, allocations: 0 / 0.6984 GB, free: 1.773 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.571e-05/0.1838, allocations: 0 / 0.6984 GB, free: 1.773 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001509/0.1839, allocations: 149.7 kB / 0.6985 GB, free: 1.578 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 5.079e-05/0.184, allocations: 26.55 kB / 0.6985 GB, free: 1.543 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.252e-05/0.184, allocations: 8.859 kB / 0.6986 GB, free: 1.531 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.098e-05/0.184, allocations: 8 kB / 0.6986 GB, free: 1.523 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.178e-05/0.1841, allocations: 34.55 kB / 0.6986 GB, free: 1.48 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=1): time 7.21e-07/0.1841, allocations: 0 / 0.6986 GB, free: 1.48 MB / 0.5137 GB Notification: Performance of matching and sorting (n=1): time 0.0001285/0.1842, allocations: 41.53 kB / 0.6986 GB, free: 1.434 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.864e-05/0.1842, allocations: 51.41 kB / 0.6987 GB, free: 1.371 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.019e-05/0.1843, allocations: 93.86 kB / 0.6988 GB, free: 1.27 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.561e-05/0.1843, allocations: 25.7 kB / 0.6988 GB, free: 1.238 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 3.845e-05/0.1843, allocations: 84.25 kB / 0.6989 GB, free: 1.152 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.915e-05/0.1844, allocations: 11.98 kB / 0.6989 GB, free: 1.141 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.762e-05/0.1844, allocations: 9.719 kB / 0.6989 GB, free: 1.125 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001442/0.1845, allocations: 310.8 kB / 0.6992 GB, free: 0.8125 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.899e-06/0.1845, allocations: 0 / 0.6992 GB, free: 0.8125 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.611e-06/0.1845, allocations: 4.406 kB / 0.6992 GB, free: 0.8086 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.075e-05/0.1846, allocations: 8.859 kB / 0.6992 GB, free: 0.7969 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.43e-06/0.1846, allocations: 4 kB / 0.6992 GB, free: 0.793 MB / 0.5137 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.899e-05/0.1846, allocations: 37.7 kB / 0.6993 GB, free: 0.75 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.288e-05/0.1846, allocations: 4 kB / 0.6993 GB, free: 0.7461 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.1846, allocations: 3.938 kB / 0.6993 GB, free: 0.7422 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.29e-05/0.1847, allocations: 0 / 0.6993 GB, free: 0.7422 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.453e-05/0.1847, allocations: 7.984 kB / 0.6993 GB, free: 0.7344 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.629e-06/0.1847, allocations: 0 / 0.6993 GB, free: 0.7344 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.448e-06/0.1847, allocations: 0 / 0.6993 GB, free: 0.7344 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.128e-06/0.1847, allocations: 0 / 0.6993 GB, free: 0.7344 MB / 0.5137 GB 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 (1): * Single equations (assignments): 1 * 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 7.619e-05/0.1848, allocations: 105.8 kB / 0.6994 GB, free: 0.6211 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.654e-06/0.1848, allocations: 8.031 kB / 0.6994 GB, free: 0.6133 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.64e-05/0.1848, allocations: 11 kB / 0.6994 GB, free: 0.6016 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.152e-06/0.1848, allocations: 0 / 0.6994 GB, free: 0.6016 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.1848, allocations: 0 / 0.6994 GB, free: 0.6016 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.873e-06/0.1848, allocations: 0 / 0.6994 GB, free: 0.6016 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001089/0.1849, allocations: 149.7 kB / 0.6995 GB, free: 416 kB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.71e-07/0.1849, allocations: 0 / 0.6995 GB, free: 416 kB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.218e-05/0.185, allocations: 4 kB / 0.6995 GB, free: 412 kB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.002e-06/0.185, allocations: 0 / 0.6995 GB, free: 412 kB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.708e-06/0.185, allocations: 3.938 kB / 0.6995 GB, free: 408 kB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.42e-07/0.185, allocations: 0 / 0.6995 GB, free: 408 kB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.185, allocations: 4 kB / 0.6995 GB, free: 404 kB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.969e-05/0.1851, allocations: 65.06 kB / 0.6996 GB, free: 320 kB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.502e-05/0.1851, allocations: 77.11 kB / 0.6997 GB, free: 224 kB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.351e-05/0.1851, allocations: 3.938 kB / 0.6997 GB, free: 220 kB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.842e-06/0.1851, allocations: 0 / 0.6997 GB, free: 220 kB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.726e-06/0.1851, allocations: 0 / 0.6997 GB, free: 220 kB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.153e-06/0.1851, allocations: 3.938 kB / 0.6997 GB, free: 216 kB / 0.5137 GB Notification: Performance of sorting global known variables: time 3.265e-05/0.1852, allocations: 79.31 kB / 0.6998 GB, free: 136 kB / 0.5137 GB Notification: Performance of sort global known variables: time 9.1e-08/0.1852, allocations: 4 kB / 0.6998 GB, free: 132 kB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002161/0.1854, allocations: 0 / 0.6998 GB, free: 132 kB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (1): * Single equations (assignments): 1 * 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.0004303/0.1858, allocations: 0.589 MB / 0.7003 GB, free: 15.51 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 7.93e-05/0.1859, allocations: 11.97 kB / 0.7003 GB, free: 15.5 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.1859, allocations: 0 / 0.7003 GB, free: 15.5 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 1.004e-05/0.1859, allocations: 4 kB / 0.7004 GB, free: 15.49 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001913/0.1861, allocations: 0 / 0.7004 GB, free: 15.49 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003939/0.1865, allocations: 102.7 kB / 0.7005 GB, free: 15.35 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003562/0.1868, allocations: 0.6727 MB / 0.7011 GB, free: 14.65 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 1.104e-05/0.1869, allocations: 0 / 0.7011 GB, free: 14.65 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.32e-05/0.1869, allocations: 7.438 kB / 0.7011 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of SimCode: time 3.91e-07/0.1869, allocations: 4.125 kB / 0.7011 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02416/0.211, allocations: 0.8695 MB / 0.702 GB, free: 13.85 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.713/7.925, allocations: 4.422 kB / 0.702 GB, free: 13.85 MB / 0.5294 GB " [Timeout remaining time 652] (rm -f IDEAS_IDEAS.Utilities.Time.Examples.ModelTime.pipe ; mkfifo IDEAS_IDEAS.Utilities.Time.Examples.ModelTime.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Time.Examples.ModelTime.pipe >> ../files/IDEAS_IDEAS.Utilities.Time.Examples.ModelTime.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Utilities.Time.Examples.ModelTime_res.csv --start-time -1 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 IDEAS_IDEAS_Utilities_Time_Examples_ModelTime.fmu > IDEAS_IDEAS.Utilities.Time.Examples.ModelTime.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.559264208000968] Failed to read output from testmodel.py, exit status != 0: 7.992386719997739 8.011951548 7.82609531 Calling exit ...