Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule.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.001188/0.001188, allocations: 109 kB / 17.54 MB, free: 4.746 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.001186/0.001186, allocations: 185.9 kB / 20.71 MB, free: 1.586 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.297/1.297, allocations: 225.6 MB / 249.3 MB, free: 3.168 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.9988/0.9988, allocations: 175.7 MB / 480.1 MB, free: 2.781 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.WeeklySchedule,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_IO_Files_Examples_WeeklySchedule",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.IO.Files.Examples.WeeklySchedule,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_IO_Files_Examples_WeeklySchedule",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001777/0.001777, allocations: 67.52 kB / 0.6677 GB, free: 10.96 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1523/0.1541, allocations: 94.54 MB / 0.7601 GB, free: 0.8438 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.Examples.WeeklySchedule): time 0.002534/0.1566, allocations: 1.49 MB / 0.7615 GB, free: 15.34 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001438/0.158, allocations: 1.168 MB / 0.7627 GB, free: 14.17 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.265e-05/0.1581, allocations: 0 / 0.7627 GB, free: 14.17 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0001512/0.1582, allocations: 27.84 kB / 0.7627 GB, free: 14.14 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0001537/0.1584, allocations: 31.8 kB / 0.7627 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001752/0.1586, allocations: 71.19 kB / 0.7628 GB, free: 14.04 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001977/0.1588, allocations: 151.5 kB / 0.7629 GB, free: 13.89 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001205/0.1589, allocations: 41.02 kB / 0.763 GB, free: 13.86 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 9.81e-05/0.159, allocations: 87.75 kB / 0.763 GB, free: 13.77 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001667/0.1591, allocations: 51.7 kB / 0.7631 GB, free: 13.72 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.967e-05/0.1592, allocations: 12 kB / 0.7631 GB, free: 13.71 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 7.725e-05/0.1593, allocations: 24 kB / 0.7631 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 8.396e-05/0.1593, allocations: 51.81 kB / 0.7632 GB, free: 13.63 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 9.705e-05/0.1594, allocations: 71.58 kB / 0.7632 GB, free: 13.56 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002729/0.1597, allocations: 203.2 kB / 0.7634 GB, free: 13.36 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.1597, allocations: 4 kB / 0.7634 GB, free: 13.36 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.603e-06/0.1597, allocations: 0 / 0.7634 GB, free: 13.36 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.549e-06/0.1597, allocations: 3.938 kB / 0.7634 GB, free: 13.36 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0006893/0.1604, allocations: 498.5 kB / 0.7639 GB, free: 12.82 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.786e-05/0.1604, allocations: 16.02 kB / 0.7639 GB, free: 12.8 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.083e-05/0.1605, allocations: 38.75 kB / 0.764 GB, free: 12.76 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.834e-05/0.1606, allocations: 16.84 kB / 0.764 GB, free: 12.74 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003014/0.1609, allocations: 264 kB / 0.7642 GB, free: 12.45 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000146/0.161, allocations: 115.4 kB / 0.7644 GB, free: 12.31 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.463e-05/0.161, allocations: 8.375 kB / 0.7644 GB, free: 12.3 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003301/0.1613, allocations: 161.5 kB / 0.7645 GB, free: 12.14 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.583e-06/0.1614, allocations: 0 / 0.7645 GB, free: 12.14 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2e-05/0.1614, allocations: 0 / 0.7645 GB, free: 12.14 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.514e-05/0.1614, allocations: 11.98 kB / 0.7645 GB, free: 12.12 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.184e-05/0.1615, allocations: 43.97 kB / 0.7646 GB, free: 12.08 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001029/0.1625, allocations: 468.4 kB / 0.765 GB, free: 11.57 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 6.906e-05/0.1626, allocations: 30.56 kB / 0.765 GB, free: 11.54 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.979e-05/0.1626, allocations: 20.86 kB / 0.7651 GB, free: 11.51 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.34e-05/0.1626, allocations: 3.984 kB / 0.7651 GB, free: 11.51 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.618e-05/0.1627, allocations: 38.56 kB / 0.7651 GB, free: 11.46 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=8): time 1.092e-06/0.1627, allocations: 4 kB / 0.7651 GB, free: 11.46 MB / 0.5762 GB Notification: Performance of matching and sorting (n=8): time 0.0002588/0.1629, allocations: 109.6 kB / 0.7652 GB, free: 11.34 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.798e-05/0.163, allocations: 55.34 kB / 0.7653 GB, free: 11.28 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002342/0.1632, allocations: 215.8 kB / 0.7655 GB, free: 11.05 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.754e-05/0.1632, allocations: 33.7 kB / 0.7655 GB, free: 11.01 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 8.408e-05/0.1633, allocations: 124.1 kB / 0.7656 GB, free: 10.89 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.584e-05/0.1634, allocations: 23.84 kB / 0.7656 GB, free: 10.86 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.549e-05/0.1634, allocations: 29.72 kB / 0.7657 GB, free: 10.83 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001502/0.1636, allocations: 334.8 kB / 0.766 GB, free: 10.49 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.273e-05/0.1636, allocations: 23.98 kB / 0.766 GB, free: 10.47 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001106/0.1637, allocations: 106.1 kB / 0.7661 GB, free: 10.33 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001806/0.1639, allocations: 146.2 kB / 0.7663 GB, free: 10.15 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.1639, allocations: 0 / 0.7663 GB, free: 10.15 MB / 0.5762 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000244/0.1641, allocations: 153.5 kB / 0.7664 GB, free: 9.992 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/0.1642, allocations: 8 kB / 0.7664 GB, free: 9.984 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.1642, allocations: 4 kB / 0.7664 GB, free: 9.98 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.229e-05/0.1642, allocations: 0 / 0.7664 GB, free: 9.98 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.895e-05/0.1643, allocations: 31.92 kB / 0.7664 GB, free: 9.949 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.097e-06/0.1643, allocations: 7.938 kB / 0.7664 GB, free: 9.941 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.38e-05/0.1643, allocations: 15.89 kB / 0.7665 GB, free: 9.926 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.497e-05/0.1644, allocations: 8 kB / 0.7665 GB, free: 9.918 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (12): * Single equations (assignments): 12 * 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 0.0001329/0.1645, allocations: 149.9 kB / 0.7666 GB, free: 9.762 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.309e-05/0.1645, allocations: 19.84 kB / 0.7666 GB, free: 9.742 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002116/0.1648, allocations: 114.9 kB / 0.7667 GB, free: 9.617 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.1648, allocations: 3.938 kB / 0.7667 GB, free: 9.613 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.1648, allocations: 3.938 kB / 0.7668 GB, free: 9.609 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.1648, allocations: 4 kB / 0.7668 GB, free: 9.605 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002548/0.165, allocations: 233.5 kB / 0.767 GB, free: 9.328 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.165, allocations: 0 / 0.767 GB, free: 9.328 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.975e-05/0.1651, allocations: 16 kB / 0.767 GB, free: 9.312 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.402e-06/0.1651, allocations: 0 / 0.767 GB, free: 9.312 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.593e-06/0.1651, allocations: 4 kB / 0.767 GB, free: 9.309 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.965e-06/0.1651, allocations: 3.984 kB / 0.767 GB, free: 9.305 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.504e-06/0.1651, allocations: 3.938 kB / 0.767 GB, free: 9.301 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002012/0.1653, allocations: 183.4 kB / 0.7672 GB, free: 9.105 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 5.505e-05/0.1653, allocations: 93 kB / 0.7673 GB, free: 8.996 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.757e-05/0.1654, allocations: 4 kB / 0.7673 GB, free: 8.992 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002406/0.1656, allocations: 15.98 kB / 0.7673 GB, free: 8.977 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.758e-05/0.1656, allocations: 15.92 kB / 0.7673 GB, free: 8.961 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.049e-05/0.1656, allocations: 11.92 kB / 0.7673 GB, free: 8.949 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001481/0.1658, allocations: 161.5 kB / 0.7675 GB, free: 8.793 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/0.1658, allocations: 3.938 kB / 0.7675 GB, free: 8.789 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.000284/0.1661, allocations: 35.89 kB / 0.7675 GB, free: 8.754 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 (8): * Single equations (assignments): 8 * 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.0005908/0.1667, allocations: 0.7338 MB / 0.7682 GB, free: 7.996 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001732/0.1668, allocations: 79.75 kB / 0.7683 GB, free: 7.918 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.1668, allocations: 0.75 kB / 0.7683 GB, free: 7.918 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 4.019e-05/0.1669, allocations: 27.94 kB / 0.7683 GB, free: 7.891 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002804/0.1672, allocations: 24.62 kB / 0.7683 GB, free: 7.867 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001962/0.1691, allocations: 1.909 MB / 0.7702 GB, free: 5.809 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003447/0.1695, allocations: 0.7392 MB / 0.7709 GB, free: 5.043 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001082/0.1696, allocations: 48.78 kB / 0.771 GB, free: 4.996 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.566e-05/0.1697, allocations: 47.42 kB / 0.771 GB, free: 4.949 MB / 0.5762 GB Notification: Performance of SimCode: time 4.2e-07/0.1697, allocations: 4 kB / 0.771 GB, free: 4.945 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02719/0.1968, allocations: 4.213 MB / 0.7751 GB, free: 0.8477 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.394/7.591, allocations: 14.66 kB / 0.7752 GB, free: 0.8359 MB / 0.5762 GB " [Timeout remaining time 652] (rm -f IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_IO_Files_Examples_WeeklySchedule_fmu --startTime=-10000 --stopTime=1e+06 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_IO_Files_Examples_WeeklySchedule.fmu > IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.962613779003732]