Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.SetPoints.Examples.OccupancySchedule.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.001706/0.001706, allocations: 102 kB / 16.45 MB, free: 6.445 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.001871/0.001871, allocations: 187.7 kB / 19.4 MB, free: 3.66 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.569/1.569, allocations: 225.6 MB / 247.8 MB, free: 3.746 MB / 190.1 MB " [Timeout remaining time 178] 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 1.091/1.091, allocations: 175.7 MB / 478.4 MB, free: 3.41 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.Controls.SetPoints.Examples.OccupancySchedule,fileNamePrefix="IDEAS_dev_IDEAS_Controls_SetPoints_Examples_OccupancySchedule",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.SetPoints.Examples.OccupancySchedule,fileNamePrefix="IDEAS_dev_IDEAS_Controls_SetPoints_Examples_OccupancySchedule",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002513/0.002513, allocations: 70.03 kB / 0.6652 GB, free: 11.21 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2071/0.2096, allocations: 94.54 MB / 0.7575 GB, free: 1.605 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.SetPoints.Examples.OccupancySchedule): time 0.002859/0.2124, allocations: 1.406 MB / 0.7589 GB, free: 192 kB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001028/0.2135, allocations: 0.5044 MB / 0.7594 GB, free: 15.68 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.86e-05/0.2135, allocations: 0 / 0.7594 GB, free: 15.68 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 7.477e-05/0.2136, allocations: 3.938 kB / 0.7594 GB, free: 15.68 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 6.089e-05/0.2136, allocations: 15.86 kB / 0.7594 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007664/0.2144, allocations: 224.1 kB / 0.7596 GB, free: 15.45 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0002396/0.2146, allocations: 147.7 kB / 0.7597 GB, free: 15.3 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.962e-05/0.2147, allocations: 7.922 kB / 0.7597 GB, free: 15.29 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 7.458e-05/0.2148, allocations: 59.91 kB / 0.7598 GB, free: 15.23 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 9.322e-05/0.2149, allocations: 43.81 kB / 0.7598 GB, free: 15.19 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.878e-05/0.2149, allocations: 12 kB / 0.7598 GB, free: 15.18 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000278/0.2152, allocations: 167.8 kB / 0.76 GB, free: 15.02 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 7.172e-05/0.2152, allocations: 35.89 kB / 0.76 GB, free: 14.98 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 8.07e-05/0.2153, allocations: 55.72 kB / 0.7601 GB, free: 14.93 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0003508/0.2157, allocations: 235.2 kB / 0.7603 GB, free: 14.7 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.279e-06/0.2157, allocations: 0 / 0.7603 GB, free: 14.7 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.502e-06/0.2157, allocations: 0 / 0.7603 GB, free: 14.7 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.116e-05/0.2157, allocations: 0 / 0.7603 GB, free: 14.7 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0006621/0.2164, allocations: 454.7 kB / 0.7608 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.695e-05/0.2164, allocations: 12.03 kB / 0.7608 GB, free: 14.19 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.029e-05/0.2164, allocations: 30.75 kB / 0.7608 GB, free: 14.15 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.127e-05/0.2165, allocations: 16.84 kB / 0.7608 GB, free: 14.13 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002679/0.2168, allocations: 209.9 kB / 0.761 GB, free: 13.89 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.128e-05/0.2168, allocations: 8.375 kB / 0.761 GB, free: 13.88 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.1e-05/0.2168, allocations: 12.38 kB / 0.761 GB, free: 13.87 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001797/0.217, allocations: 99.77 kB / 0.7611 GB, free: 13.76 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.299e-05/0.217, allocations: 7.922 kB / 0.7611 GB, free: 13.75 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.818e-06/0.217, allocations: 0 / 0.7611 GB, free: 13.75 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.706e-06/0.217, allocations: 0 / 0.7611 GB, free: 13.75 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.245e-05/0.2171, allocations: 39.97 kB / 0.7612 GB, free: 13.71 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002903/0.2174, allocations: 226.5 kB / 0.7614 GB, free: 13.44 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001267/0.2175, allocations: 81.17 kB / 0.7615 GB, free: 13.34 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.699e-05/0.2176, allocations: 49.81 kB / 0.7615 GB, free: 13.29 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.221e-05/0.2176, allocations: 4 kB / 0.7615 GB, free: 13.29 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002452/0.2179, allocations: 112.7 kB / 0.7616 GB, free: 13.16 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=14): time 1.142e-06/0.2179, allocations: 3.938 kB / 0.7616 GB, free: 13.16 MB / 0.5762 GB Notification: Performance of matching and sorting (n=14): time 0.0003745/0.2183, allocations: 193.5 kB / 0.7618 GB, free: 12.96 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.689e-05/0.2183, allocations: 89.09 kB / 0.7619 GB, free: 12.86 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001436/0.2185, allocations: 148 kB / 0.762 GB, free: 12.7 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.612e-05/0.2185, allocations: 37.7 kB / 0.7621 GB, free: 12.66 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 8.196e-05/0.2186, allocations: 92.52 kB / 0.7622 GB, free: 12.56 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 5.682e-05/0.2186, allocations: 47.67 kB / 0.7622 GB, free: 12.52 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.989e-05/0.2187, allocations: 49.69 kB / 0.7623 GB, free: 12.46 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001601/0.2189, allocations: 326.8 kB / 0.7626 GB, free: 12.13 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.421e-05/0.219, allocations: 43.98 kB / 0.7626 GB, free: 12.09 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002457/0.2192, allocations: 199.4 kB / 0.7628 GB, free: 11.84 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001455/0.2194, allocations: 97.58 kB / 0.7629 GB, free: 11.74 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.2194, allocations: 0 / 0.7629 GB, free: 11.74 MB / 0.5762 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002502/0.2196, allocations: 161.4 kB / 0.763 GB, free: 11.57 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.783e-05/0.2196, allocations: 4 kB / 0.763 GB, free: 11.57 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.702e-05/0.2197, allocations: 11.98 kB / 0.7631 GB, free: 11.56 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.549e-05/0.2197, allocations: 0 / 0.7631 GB, free: 11.56 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.967e-05/0.2197, allocations: 8 kB / 0.7631 GB, free: 11.55 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.2198, allocations: 0.625 kB / 0.7631 GB, free: 11.55 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002772/0.22, allocations: 81.48 kB / 0.7631 GB, free: 11.47 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.104e-05/0.22, allocations: 4 kB / 0.7631 GB, free: 11.47 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 18 (occSchWee.tNext,$PRE.occSchWee.tNext,occSchWee.tNonOcc,$PRE.occSchWee.tNonOcc,occSchWee.tOcc,$PRE.occSchWee.tOcc,occSchWee.occupied,$PRE.occSchWee.occupied,$whenCondition2,occSchDay.tNext,$PRE.occSchDay.tNext,occSchDay.tNonOcc,$PRE.occSchDay.tNonOcc,occSchDay.tOcc,$PRE.occSchDay.tOcc,occSchDay.occupied,$PRE.occSchDay.occupied,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0001417/0.2202, allocations: 138.8 kB / 0.7633 GB, free: 11.32 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.123e-05/0.2202, allocations: 11.89 kB / 0.7633 GB, free: 11.31 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.88e-05/0.2202, allocations: 12.72 kB / 0.7633 GB, free: 11.29 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.408e-06/0.2202, allocations: 3.984 kB / 0.7633 GB, free: 11.29 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/0.2203, allocations: 4 kB / 0.7633 GB, free: 11.29 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.866e-06/0.2203, allocations: 0 / 0.7633 GB, free: 11.29 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001834/0.2204, allocations: 197.5 kB / 0.7635 GB, free: 11.04 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.2204, allocations: 0 / 0.7635 GB, free: 11.04 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.627e-05/0.2205, allocations: 12.08 kB / 0.7635 GB, free: 11.03 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.429e-06/0.2205, allocations: 3.984 kB / 0.7635 GB, free: 11.03 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.047e-06/0.2205, allocations: 4 kB / 0.7635 GB, free: 11.02 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.577e-06/0.2205, allocations: 4 kB / 0.7635 GB, free: 11.02 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.2205, allocations: 0 / 0.7635 GB, free: 11.02 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002547/0.2207, allocations: 189.7 kB / 0.7637 GB, free: 10.81 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 7.19e-05/0.2208, allocations: 92.95 kB / 0.7638 GB, free: 10.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.403e-05/0.2208, allocations: 8 kB / 0.7638 GB, free: 10.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.317e-05/0.2209, allocations: 7.984 kB / 0.7638 GB, free: 10.69 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.862e-05/0.2209, allocations: 8 kB / 0.7638 GB, free: 10.68 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.546e-06/0.221, allocations: 4 kB / 0.7638 GB, free: 10.68 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 8.64e-05/0.221, allocations: 111.2 kB / 0.7639 GB, free: 10.57 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.221, allocations: 0 / 0.7639 GB, free: 10.57 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003203/0.2214, allocations: 79.8 kB / 0.764 GB, free: 10.49 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,occSchWee.occupied,occSchWee.tOcc,occSchWee.tNonOcc,occSchWee.tNext,$whenCondition1,occSchDay.occupied,occSchDay.tOcc,occSchDay.tNonOcc,occSchDay.tNext) * Number of discrete states: 2 (occSchDay.tNext,occSchWee.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.000741/0.2221, allocations: 0.7731 MB / 0.7648 GB, free: 9.684 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002905/0.2224, allocations: 159.3 kB / 0.7649 GB, free: 9.516 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.2224, allocations: 0 / 0.7649 GB, free: 9.516 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 6.71e-05/0.2225, allocations: 35.98 kB / 0.7649 GB, free: 9.48 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000164/0.2226, allocations: 9.875 kB / 0.765 GB, free: 9.473 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002014/0.2246, allocations: 1.745 MB / 0.7667 GB, free: 7.637 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000384/0.225, allocations: 0.7002 MB / 0.7673 GB, free: 6.91 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 4.559e-05/0.2251, allocations: 4.672 kB / 0.7673 GB, free: 6.902 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.515e-05/0.2251, allocations: 35.42 kB / 0.7674 GB, free: 6.867 MB / 0.5762 GB Notification: Performance of SimCode: time 5.71e-07/0.2251, allocations: 0 / 0.7674 GB, free: 6.867 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03018/0.2553, allocations: 3.977 MB / 0.7713 GB, free: 3.004 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.403/8.659, allocations: 8.594 kB / 0.7713 GB, free: 3 MB / 0.5762 GB " [Timeout remaining time 651] (rm -f IDEAS_dev_IDEAS.Controls.SetPoints.Examples.OccupancySchedule.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.SetPoints.Examples.OccupancySchedule.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.SetPoints.Examples.OccupancySchedule.pipe >> ../files/IDEAS_dev_IDEAS.Controls.SetPoints.Examples.OccupancySchedule.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_SetPoints_Examples_OccupancySchedule_fmu --startTime=-86400 --stopTime=1.2096e+06 --stepSize=518.4 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Controls_SetPoints_Examples_OccupancySchedule.fmu > IDEAS_dev_IDEAS.Controls.SetPoints.Examples.OccupancySchedule.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.840326065663248] Failed to read output from testmodel.py, exit status != 0: 8.730827553197742 8.755652774 8.535306508 Calling exit ...