Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.IO.Files.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.001409/0.001409, allocations: 112.9 kB / 17.54 MB, free: 4.641 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.001422/0.001422, allocations: 189.9 kB / 20.71 MB, free: 1.484 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.31/1.31, allocations: 225.6 MB / 249.3 MB, free: 3.16 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.9881/0.9881, allocations: 175.7 MB / 480.1 MB, free: 2.75 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.WeeklySchedule,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_IO_Files_WeeklySchedule",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.IO.Files.WeeklySchedule,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_IO_Files_WeeklySchedule",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001765/0.001765, allocations: 67.2 kB / 0.6677 GB, free: 10.95 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1629/0.1647, allocations: 94.53 MB / 0.7601 GB, free: 0.8086 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.WeeklySchedule): time 0.002614/0.1673, allocations: 1.354 MB / 0.7614 GB, free: 15.44 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0001628/0.1675, allocations: 42.06 kB / 0.7614 GB, free: 15.4 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.852e-05/0.1675, allocations: 0 / 0.7614 GB, free: 15.4 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0001554/0.1677, allocations: 19.91 kB / 0.7614 GB, free: 15.38 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0001039/0.1678, allocations: 15.86 kB / 0.7615 GB, free: 15.37 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 2.995e-06/0.1678, allocations: 0 / 0.7615 GB, free: 15.37 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 5.644e-05/0.1678, allocations: 15.94 kB / 0.7615 GB, free: 15.35 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.664e-05/0.1679, allocations: 0 / 0.7615 GB, free: 15.35 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 3.616e-05/0.1679, allocations: 11.92 kB / 0.7615 GB, free: 15.34 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 4.495e-05/0.1679, allocations: 7.938 kB / 0.7615 GB, free: 15.33 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.359e-05/0.168, allocations: 0 / 0.7615 GB, free: 15.33 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 5.02e-05/0.168, allocations: 15.98 kB / 0.7615 GB, free: 15.32 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 3.655e-05/0.168, allocations: 3.984 kB / 0.7615 GB, free: 15.31 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.102e-05/0.1681, allocations: 7.938 kB / 0.7615 GB, free: 15.3 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 9.715e-05/0.1682, allocations: 31.91 kB / 0.7615 GB, free: 15.27 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.1682, allocations: 0 / 0.7615 GB, free: 15.27 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.112e-06/0.1682, allocations: 0 / 0.7615 GB, free: 15.27 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.548e-06/0.1682, allocations: 0 / 0.7615 GB, free: 15.27 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.000362/0.1685, allocations: 336.9 kB / 0.7619 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.039e-05/0.1686, allocations: 12.03 kB / 0.7619 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.094e-05/0.1686, allocations: 34.7 kB / 0.7619 GB, free: 14.84 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.212e-05/0.1686, allocations: 0.9375 kB / 0.7619 GB, free: 14.84 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001851/0.1688, allocations: 176.3 kB / 0.7621 GB, free: 14.63 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.607e-06/0.1688, allocations: 384 / 0.7621 GB, free: 14.63 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.149e-05/0.1689, allocations: 12.36 kB / 0.7621 GB, free: 14.62 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.737e-05/0.1689, allocations: 34.27 kB / 0.7621 GB, free: 14.58 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.169, allocations: 11.86 kB / 0.7621 GB, free: 14.57 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.642e-06/0.169, allocations: 0 / 0.7621 GB, free: 14.57 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.392e-05/0.169, allocations: 0 / 0.7621 GB, free: 14.57 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.079e-05/0.169, allocations: 4 kB / 0.7621 GB, free: 14.56 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002841/0.1693, allocations: 237 kB / 0.7624 GB, free: 14.28 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 4.813e-05/0.1693, allocations: 34.45 kB / 0.7624 GB, free: 14.24 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.612e-05/0.1693, allocations: 4.859 kB / 0.7624 GB, free: 14.23 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.584e-05/0.1694, allocations: 0 / 0.7624 GB, free: 14.23 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.616e-05/0.1694, allocations: 30.56 kB / 0.7624 GB, free: 14.19 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=1): time 7.01e-07/0.1694, allocations: 0 / 0.7624 GB, free: 14.19 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1): time 0.0001388/0.1695, allocations: 37.7 kB / 0.7625 GB, free: 14.15 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.029e-05/0.1696, allocations: 55.39 kB / 0.7625 GB, free: 14.08 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001038/0.1697, allocations: 118 kB / 0.7626 GB, free: 13.96 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.54e-05/0.1697, allocations: 29.7 kB / 0.7627 GB, free: 13.92 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.711e-05/0.1697, allocations: 88.09 kB / 0.7627 GB, free: 13.83 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.019e-05/0.1697, allocations: 0 / 0.7627 GB, free: 13.83 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.531e-05/0.1698, allocations: 13.72 kB / 0.7628 GB, free: 13.81 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001286/0.1699, allocations: 314.8 kB / 0.7631 GB, free: 13.5 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.194e-05/0.1699, allocations: 4 kB / 0.7631 GB, free: 13.49 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.295e-06/0.1699, allocations: 4 kB / 0.7631 GB, free: 13.49 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.658e-05/0.1699, allocations: 20.86 kB / 0.7631 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.17, allocations: 3.938 kB / 0.7631 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.934e-05/0.17, allocations: 33.64 kB / 0.7631 GB, free: 13.42 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.188e-05/0.17, allocations: 8 kB / 0.7631 GB, free: 13.41 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/0.17, allocations: 0 / 0.7631 GB, free: 13.41 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.385e-05/0.17, allocations: 3.984 kB / 0.7631 GB, free: 13.41 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.184e-05/0.1701, allocations: 0 / 0.7631 GB, free: 13.41 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.643e-06/0.1701, allocations: 4 kB / 0.7631 GB, free: 13.41 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.453e-05/0.1701, allocations: 3.953 kB / 0.7631 GB, free: 13.4 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.378e-06/0.1701, allocations: 4.031 kB / 0.7631 GB, free: 13.4 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 8.226e-05/0.1702, allocations: 117.3 kB / 0.7633 GB, free: 13.28 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.413e-05/0.1702, allocations: 4 kB / 0.7633 GB, free: 13.27 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.848e-05/0.1703, allocations: 41.16 kB / 0.7633 GB, free: 13.22 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.1703, allocations: 4 kB / 0.7633 GB, free: 13.21 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.105e-06/0.1703, allocations: 0 / 0.7633 GB, free: 13.21 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.154e-06/0.1703, allocations: 0 / 0.7633 GB, free: 13.21 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000173/0.1705, allocations: 161.5 kB / 0.7635 GB, free: 13.01 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.81e-07/0.1705, allocations: 7.969 kB / 0.7635 GB, free: 13 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.676e-05/0.1705, allocations: 4 kB / 0.7635 GB, free: 13 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.684e-06/0.1705, allocations: 0 / 0.7635 GB, free: 13 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.949e-06/0.1705, allocations: 0 / 0.7635 GB, free: 13 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.1705, allocations: 0 / 0.7635 GB, free: 13 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.1705, allocations: 0 / 0.7635 GB, free: 13 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001125/0.1706, allocations: 135.5 kB / 0.7636 GB, free: 12.85 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 4.36e-05/0.1707, allocations: 81.06 kB / 0.7637 GB, free: 12.75 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.012e-05/0.1707, allocations: 4.031 kB / 0.7637 GB, free: 12.75 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.778e-05/0.1707, allocations: 4 kB / 0.7637 GB, free: 12.74 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.135e-05/0.1707, allocations: 3.984 kB / 0.7637 GB, free: 12.74 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.994e-06/0.1707, allocations: 0 / 0.7637 GB, free: 12.74 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 5.962e-05/0.1708, allocations: 91.58 kB / 0.7638 GB, free: 12.65 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8.1e-08/0.1708, allocations: 0 / 0.7638 GB, free: 12.65 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.000213/0.171, allocations: 8 kB / 0.7638 GB, free: 12.64 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.0005247/0.1715, allocations: 0.6919 MB / 0.7645 GB, free: 11.93 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 6.702e-05/0.1716, allocations: 4 kB / 0.7645 GB, free: 11.92 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.1716, allocations: 0 / 0.7645 GB, free: 11.92 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 1.294e-05/0.1716, allocations: 8.094 kB / 0.7645 GB, free: 11.91 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001863/0.1718, allocations: 5.969 kB / 0.7645 GB, free: 11.91 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001054/0.1728, allocations: 1.19 MB / 0.7656 GB, free: 10.64 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003007/0.1731, allocations: 0.6768 MB / 0.7663 GB, free: 9.938 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 4.85e-05/0.1732, allocations: 4 kB / 0.7663 GB, free: 9.934 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.196e-05/0.1732, allocations: 11.44 kB / 0.7663 GB, free: 9.922 MB / 0.5762 GB Notification: Performance of SimCode: time 4.1e-07/0.1732, allocations: 3.938 kB / 0.7663 GB, free: 9.918 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02351/0.1967, allocations: 1.365 MB / 0.7676 GB, free: 8.629 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.188/7.385, allocations: 12.39 kB / 0.7677 GB, free: 8.625 MB / 0.5762 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Utilities.IO.Files.WeeklySchedule.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.IO.Files.WeeklySchedule.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.IO.Files.WeeklySchedule.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.IO.Files.WeeklySchedule.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Utilities.IO.Files.WeeklySchedule_res.csv --start-time -10000 --stop-time 1e+06 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 100 IDEAS_dev_IDEAS_Utilities_IO_Files_WeeklySchedule.fmu > IDEAS_dev_IDEAS.Utilities.IO.Files.WeeklySchedule.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.868467908003367]