Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule7to19.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.001266/0.001266, allocations: 104.3 kB / 17.54 MB, free: 4.781 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.001376/0.001376, allocations: 182.6 kB / 20.71 MB, free: 1.625 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.303/1.303, allocations: 225.6 MB / 249.3 MB, free: 3.32 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9602/0.9602, allocations: 175.7 MB / 480.1 MB, free: 2.832 MB / 366.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-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IDEAS.Utilities.IO.Files.Examples.WeeklySchedule7to19,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_IO_Files_Examples_WeeklySchedule7to19",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.IO.Files.Examples.WeeklySchedule7to19,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_IO_Files_Examples_WeeklySchedule7to19",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001734/0.001734, allocations: 67.31 kB / 0.6677 GB, free: 11.05 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1529/0.1546, allocations: 94.53 MB / 0.76 GB, free: 0.9062 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.Examples.WeeklySchedule7to19): time 0.002387/0.157, allocations: 1.383 MB / 0.7614 GB, free: 15.51 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0001299/0.1571, allocations: 39.83 kB / 0.7614 GB, free: 15.47 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.739e-05/0.1572, allocations: 4 kB / 0.7614 GB, free: 15.47 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0001359/0.1573, allocations: 3.938 kB / 0.7614 GB, free: 15.46 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 9.54e-05/0.1574, allocations: 19.91 kB / 0.7615 GB, free: 15.45 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 2.935e-06/0.1574, allocations: 4 kB / 0.7615 GB, free: 15.44 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 5.708e-05/0.1575, allocations: 15.94 kB / 0.7615 GB, free: 15.43 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.635e-05/0.1575, allocations: 7.922 kB / 0.7615 GB, free: 15.42 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 2.647e-05/0.1575, allocations: 11.94 kB / 0.7615 GB, free: 15.41 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 4.608e-05/0.1576, allocations: 7.938 kB / 0.7615 GB, free: 15.4 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.137e-05/0.1576, allocations: 0 / 0.7615 GB, free: 15.4 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 4.2e-05/0.1576, allocations: 15.98 kB / 0.7615 GB, free: 15.38 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 3.46e-05/0.1577, allocations: 7.922 kB / 0.7615 GB, free: 15.38 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.164e-05/0.1577, allocations: 11.94 kB / 0.7615 GB, free: 15.36 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 8.953e-05/0.1578, allocations: 31.91 kB / 0.7616 GB, free: 15.33 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.1578, allocations: 4 kB / 0.7616 GB, free: 15.33 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.262e-06/0.1578, allocations: 0 / 0.7616 GB, free: 15.33 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 3.667e-06/0.1578, allocations: 0 / 0.7616 GB, free: 15.33 MB / 0.5762 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.0003383/0.1581, allocations: 336.9 kB / 0.7619 GB, free: 14.95 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.111e-05/0.1582, allocations: 8.031 kB / 0.7619 GB, free: 14.94 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.998e-05/0.1582, allocations: 30.75 kB / 0.7619 GB, free: 14.9 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.257e-05/0.1582, allocations: 8.891 kB / 0.7619 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001722/0.1584, allocations: 176.3 kB / 0.7621 GB, free: 14.68 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.853e-06/0.1584, allocations: 384 / 0.7621 GB, free: 14.68 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.18e-06/0.1584, allocations: 4.312 kB / 0.7621 GB, free: 14.68 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.325e-05/0.1585, allocations: 42.2 kB / 0.7621 GB, free: 14.63 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.155e-06/0.1585, allocations: 3.938 kB / 0.7622 GB, free: 14.63 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.126e-06/0.1585, allocations: 3.984 kB / 0.7622 GB, free: 14.62 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.753e-05/0.1585, allocations: 3.938 kB / 0.7622 GB, free: 14.62 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.783e-05/0.1585, allocations: 4 kB / 0.7622 GB, free: 14.62 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001585/0.1587, allocations: 153.7 kB / 0.7623 GB, free: 14.42 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 4.219e-05/0.1587, allocations: 14.58 kB / 0.7623 GB, free: 14.39 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.895e-05/0.1587, allocations: 16.91 kB / 0.7623 GB, free: 14.38 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.738e-05/0.1588, allocations: 0 / 0.7623 GB, free: 14.38 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.722e-05/0.1588, allocations: 34.56 kB / 0.7624 GB, free: 14.33 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=1): time 7.11e-07/0.1588, allocations: 0 / 0.7624 GB, free: 14.33 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1): time 0.0001265/0.1589, allocations: 45.56 kB / 0.7624 GB, free: 14.28 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.601e-05/0.1589, allocations: 51.41 kB / 0.7625 GB, free: 14.22 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001018/0.1591, allocations: 113.8 kB / 0.7626 GB, free: 14.1 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.443e-05/0.1591, allocations: 33.83 kB / 0.7626 GB, free: 14.06 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.001e-05/0.1591, allocations: 84.14 kB / 0.7627 GB, free: 13.97 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.682e-05/0.1591, allocations: 3.953 kB / 0.7627 GB, free: 13.97 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.641e-05/0.1592, allocations: 13.72 kB / 0.7627 GB, free: 13.95 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000133/0.1593, allocations: 318.8 kB / 0.763 GB, free: 13.63 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.089e-05/0.1593, allocations: 0 / 0.763 GB, free: 13.63 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.576e-06/0.1593, allocations: 4 kB / 0.763 GB, free: 13.62 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.621e-05/0.1593, allocations: 16.86 kB / 0.763 GB, free: 13.61 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.1593, allocations: 0 / 0.763 GB, free: 13.61 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.53e-05/0.1594, allocations: 37.7 kB / 0.7631 GB, free: 13.56 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.358e-05/0.1594, allocations: 11.92 kB / 0.7631 GB, free: 13.55 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.896e-06/0.1594, allocations: 0 / 0.7631 GB, free: 13.55 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.688e-06/0.1594, allocations: 0 / 0.7631 GB, free: 13.55 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.709e-05/0.1595, allocations: 0 / 0.7631 GB, free: 13.55 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.507e-06/0.1595, allocations: 4.312 kB / 0.7631 GB, free: 13.55 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.083e-05/0.1595, allocations: 0 / 0.7631 GB, free: 13.55 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.268e-06/0.1595, allocations: 0 / 0.7631 GB, free: 13.55 MB / 0.5762 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 6.941e-05/0.1596, allocations: 109.9 kB / 0.7632 GB, free: 13.43 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.026e-05/0.1596, allocations: 7.938 kB / 0.7632 GB, free: 13.42 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.248e-05/0.1596, allocations: 49.16 kB / 0.7632 GB, free: 13.36 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.042e-06/0.1596, allocations: 0 / 0.7632 GB, free: 13.36 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.755e-06/0.1597, allocations: 0 / 0.7632 GB, free: 13.36 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.713e-06/0.1597, allocations: 7.875 kB / 0.7632 GB, free: 13.35 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001125/0.1598, allocations: 157.6 kB / 0.7634 GB, free: 13.15 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.1598, allocations: 4 kB / 0.7634 GB, free: 13.14 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.442e-05/0.1598, allocations: 7.984 kB / 0.7634 GB, free: 13.14 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.1598, allocations: 7.969 kB / 0.7634 GB, free: 13.13 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.549e-06/0.1598, allocations: 0 / 0.7634 GB, free: 13.13 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.848e-06/0.1598, allocations: 3.984 kB / 0.7634 GB, free: 13.12 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.1598, allocations: 0 / 0.7634 GB, free: 13.12 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.658e-05/0.1599, allocations: 61.08 kB / 0.7635 GB, free: 13.05 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 4.12e-05/0.1599, allocations: 81.09 kB / 0.7636 GB, free: 12.95 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.239e-05/0.1599, allocations: 7.938 kB / 0.7636 GB, free: 12.94 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.067e-06/0.1599, allocations: 0 / 0.7636 GB, free: 12.94 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.514e-06/0.1599, allocations: 4.031 kB / 0.7636 GB, free: 12.94 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.593e-06/0.1599, allocations: 0 / 0.7636 GB, free: 12.94 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 6.554e-05/0.16, allocations: 95.27 kB / 0.7637 GB, free: 12.84 MB / 0.5762 GB Notification: Performance of sort global known variables: time 6.1e-08/0.16, allocations: 0 / 0.7637 GB, free: 12.84 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0001685/0.1602, allocations: 7.938 kB / 0.7637 GB, free: 12.84 MB / 0.5762 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.0004311/0.1606, allocations: 0.6167 MB / 0.7643 GB, free: 12.2 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 6.336e-05/0.1607, allocations: 7.938 kB / 0.7643 GB, free: 12.19 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.1607, allocations: 0 / 0.7643 GB, free: 12.19 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 1.118e-05/0.1607, allocations: 8 kB / 0.7643 GB, free: 12.18 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001167/0.1608, allocations: 1.875 kB / 0.7643 GB, free: 12.18 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009421/0.1617, allocations: 1.121 MB / 0.7654 GB, free: 10.98 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002884/0.162, allocations: 0.6768 MB / 0.766 GB, free: 10.27 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 3.905e-05/0.1621, allocations: 7.984 kB / 0.766 GB, free: 10.27 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.484e-05/0.1621, allocations: 11.38 kB / 0.7661 GB, free: 10.25 MB / 0.5762 GB Notification: Performance of SimCode: time 2.91e-07/0.1621, allocations: 0 / 0.7661 GB, free: 10.25 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02203/0.1841, allocations: 1.372 MB / 0.7674 GB, free: 8.965 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.216/7.4, allocations: 0.75 kB / 0.7674 GB, free: 8.965 MB / 0.5762 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule7to19.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_IO_Files_Examples_WeeklySchedule7to19_fmu --startTime=0 --stopTime=1.2096e+06 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_IO_Files_Examples_WeeklySchedule7to19.fmu > IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.759815775003517]