Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Controls.Continuous.Examples.OffTimer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Controls.Continuous.Examples.OffTimer,fileNamePrefix="BuildingSystems_BuildingSystems_Controls_Continuous_Examples_OffTimer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Controls.Continuous.Examples.OffTimer,fileNamePrefix="BuildingSystems_BuildingSystems_Controls_Continuous_Examples_OffTimer",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7462/0.7462, allocations: 141.7 MB / 154.3 MB, free: 15.48 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009902/0.0009901, allocations: 181.6 kB / 187.3 MB, free: 11.89 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.339/1.339, allocations: 221.3 MB / 441.4 MB, free: 4.609 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008386/0.0008385, allocations: 95.48 kB / 0.5124 GB, free: 24.12 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001713/0.001713, allocations: 278.9 kB / 0.5939 GB, free: 7.965 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.363e-05/3.404e-05, allocations: 4 kB / 0.6835 GB, free: 12.15 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3928/0.3928, allocations: 82.76 MB / 0.7644 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1201/0.5131, allocations: 109.2 MB / 0.871 GB, free: 15.33 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002206/0.5133, allocations: 71.95 kB / 0.8711 GB, free: 15.26 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.003022/0.5164, allocations: 1.133 MB / 0.8722 GB, free: 14.14 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.553e-06/0.5164, allocations: 4 kB / 0.8722 GB, free: 14.13 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 6.682e-06/0.5164, allocations: 3.375 kB / 0.8722 GB, free: 14.13 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.000371/0.5168, allocations: 343.7 kB / 0.8725 GB, free: 13.75 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.907e-05/0.5169, allocations: 12.03 kB / 0.8725 GB, free: 13.74 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.017e-05/0.5169, allocations: 38.55 kB / 0.8726 GB, free: 13.7 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.554e-05/0.5169, allocations: 7.938 kB / 0.8726 GB, free: 13.69 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001312/0.5171, allocations: 175 kB / 0.8727 GB, free: 13.48 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.314e-05/0.5171, allocations: 7.938 kB / 0.8727 GB, free: 13.47 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.557e-05/0.5171, allocations: 4 kB / 0.8727 GB, free: 13.46 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001111/0.5172, allocations: 53.69 kB / 0.8728 GB, free: 13.41 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.736e-06/0.5172, allocations: 0 / 0.8728 GB, free: 13.41 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.045e-05/0.5173, allocations: 3.984 kB / 0.8728 GB, free: 13.4 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.5173, allocations: 0 / 0.8728 GB, free: 13.4 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.147e-05/0.5173, allocations: 24 kB / 0.8728 GB, free: 13.38 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004799/0.5178, allocations: 316.7 kB / 0.8731 GB, free: 13.02 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001006/0.5179, allocations: 50.61 kB / 0.8732 GB, free: 12.96 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.244e-05/0.518, allocations: 21.05 kB / 0.8732 GB, free: 12.94 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 1.353e-05/0.518, allocations: 4.031 kB / 0.8732 GB, free: 12.93 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001494/0.5182, allocations: 77.39 kB / 0.8733 GB, free: 12.85 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=9): time 1.613e-06/0.5182, allocations: 0 / 0.8733 GB, free: 12.85 MB / 0.5417 GB Notification: Performance of matching and sorting (n=9): time 0.000187/0.5184, allocations: 89.52 kB / 0.8734 GB, free: 12.75 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.229e-05/0.5184, allocations: 55.41 kB / 0.8734 GB, free: 12.69 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.94e-05/0.5185, allocations: 93 kB / 0.8735 GB, free: 12.59 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.013e-05/0.5185, allocations: 33.69 kB / 0.8735 GB, free: 12.55 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 4.477e-05/0.5186, allocations: 88.08 kB / 0.8736 GB, free: 12.46 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 2.467e-05/0.5186, allocations: 23.72 kB / 0.8736 GB, free: 12.44 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.079e-06/0.5186, allocations: 4 kB / 0.8736 GB, free: 12.43 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001098/0.5187, allocations: 318.8 kB / 0.8739 GB, free: 12.11 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.431e-05/0.5188, allocations: 23.94 kB / 0.874 GB, free: 12.09 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.821e-05/0.5188, allocations: 35.44 kB / 0.874 GB, free: 12.04 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.447e-05/0.5189, allocations: 28.2 kB / 0.874 GB, free: 12.02 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.5189, allocations: 7.938 kB / 0.874 GB, free: 12.01 MB / 0.5417 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001394/0.519, allocations: 97.5 kB / 0.8741 GB, free: 11.91 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.422e-05/0.5191, allocations: 4 kB / 0.8741 GB, free: 11.9 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.5191, allocations: 0 / 0.8741 GB, free: 11.9 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.473e-05/0.5191, allocations: 4 kB / 0.8741 GB, free: 11.9 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.275e-05/0.5192, allocations: 12 kB / 0.8741 GB, free: 11.89 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.552e-06/0.5192, allocations: 3.938 kB / 0.8742 GB, free: 11.88 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.706e-05/0.5193, allocations: 15.92 kB / 0.8742 GB, free: 11.87 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.016e-05/0.5193, allocations: 7.203 kB / 0.8742 GB, free: 11.86 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,$whenCondition3,$whenCondition2,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart,not1.y,$PRE.offTim1.entryTime,offTim1.entryTime,$PRE.offTim2.entryTime,offTim2.entryTime) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.863e-05/0.5193, allocations: 117.6 kB / 0.8743 GB, free: 11.74 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.988e-06/0.5194, allocations: 0 / 0.8743 GB, free: 11.74 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.756e-05/0.5194, allocations: 8.094 kB / 0.8743 GB, free: 11.74 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.556e-06/0.5194, allocations: 4 kB / 0.8743 GB, free: 11.73 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.5194, allocations: 0 / 0.8743 GB, free: 11.73 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.5194, allocations: 0 / 0.8743 GB, free: 11.73 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003888/0.5198, allocations: 370.3 kB / 0.8746 GB, free: 11.32 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.5198, allocations: 0 / 0.8746 GB, free: 11.32 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.578e-05/0.5199, allocations: 7.938 kB / 0.8747 GB, free: 11.31 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.5199, allocations: 4 kB / 0.8747 GB, free: 11.3 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.506e-06/0.5199, allocations: 0 / 0.8747 GB, free: 11.3 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.5199, allocations: 0 / 0.8747 GB, free: 11.3 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.5199, allocations: 4.062 kB / 0.8747 GB, free: 11.3 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001595/0.5201, allocations: 183.4 kB / 0.8748 GB, free: 11.11 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 5.847e-05/0.5201, allocations: 85.02 kB / 0.8749 GB, free: 11 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.526e-05/0.5202, allocations: 4 kB / 0.8749 GB, free: 11 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.132e-05/0.5202, allocations: 7.984 kB / 0.8749 GB, free: 10.99 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.454e-05/0.5203, allocations: 7.984 kB / 0.8749 GB, free: 10.98 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.043e-05/0.5203, allocations: 7.938 kB / 0.8749 GB, free: 10.98 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 3.543e-05/0.5203, allocations: 83.47 kB / 0.875 GB, free: 10.89 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5204, allocations: 0 / 0.875 GB, free: 10.89 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002027/0.5206, allocations: 19.89 kB / 0.875 GB, free: 10.88 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (not1.y,$whenCondition3,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,offTim1.entryTime,offTim2.entryTime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003903/0.521, allocations: 0.7085 MB / 0.8757 GB, free: 10.14 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0001253/0.5211, allocations: 55.92 kB / 0.8758 GB, free: 10.08 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.5211, allocations: 0 / 0.8758 GB, free: 10.08 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 4.896e-05/0.5212, allocations: 23.94 kB / 0.8758 GB, free: 10.06 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000184/0.5213, allocations: 12.28 kB / 0.8758 GB, free: 10.05 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004203/0.5218, allocations: 146.7 kB / 0.876 GB, free: 9.867 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002112/0.522, allocations: 0.6848 MB / 0.8766 GB, free: 9.156 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 2.888e-05/0.522, allocations: 8.406 kB / 0.8766 GB, free: 9.148 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.172e-05/0.5221, allocations: 19.38 kB / 0.8767 GB, free: 9.129 MB / 0.5417 GB Notification: Performance of SimCode: time 3.31e-07/0.5221, allocations: 4 kB / 0.8767 GB, free: 9.125 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01203/0.5341, allocations: 1.484 MB / 0.8781 GB, free: 7.781 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000224/0.5344, allocations: 167.8 kB / 0.8783 GB, free: 7.551 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.442/1.977, allocations: 0 / 0.8783 GB, free: 7.551 MB / 0.5417 GB (rm -f BuildingSystems_BuildingSystems.Controls.Continuous.Examples.OffTimer.pipe ; mkfifo BuildingSystems_BuildingSystems.Controls.Continuous.Examples.OffTimer.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Controls.Continuous.Examples.OffTimer.pipe >> ../files/BuildingSystems_BuildingSystems.Controls.Continuous.Examples.OffTimer.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Controls_Continuous_Examples_OffTimer_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Controls_Continuous_Examples_OffTimer.fmu > BuildingSystems_BuildingSystems.Controls.Continuous.Examples.OffTimer.pipe 2>&1)