Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Validation.OffTimerNonZeroStart.conf.json 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/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/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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(BuildSysPro.IBPSA.Controls.Continuous.Validation.OffTimerNonZeroStart,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Controls_Continuous_Validation_OffTimerNonZeroStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Controls.Continuous.Validation.OffTimerNonZeroStart,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Controls_Continuous_Validation_OffTimerNonZeroStart",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001309/0.001309, allocations: 84.22 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001272/0.001272, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.78/1.78, allocations: 223.2 MB / 240 MB, free: 5.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.294/1.294, allocations: 143.4 MB / 434.4 MB, free: 13.67 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003664/0.0003665, allocations: 12.22 kB / 0.5161 GB, free: 11.22 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2057/0.2061, allocations: 83.42 MB / 0.5975 GB, free: 7.746 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.002592/0.2087, allocations: 1.179 MB / 0.5987 GB, free: 6.551 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001023/0.2098, allocations: 411.3 kB / 0.5991 GB, free: 6.145 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.278e-05/0.2099, allocations: 0 / 0.5991 GB, free: 6.145 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.779e-05/0.21, allocations: 0 / 0.5991 GB, free: 6.145 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001333/0.2101, allocations: 7.922 kB / 0.5991 GB, free: 6.137 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002339/0.2103, allocations: 16 kB / 0.5991 GB, free: 6.121 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001248/0.2105, allocations: 47.84 kB / 0.5992 GB, free: 6.074 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001533/0.2106, allocations: 15.98 kB / 0.5992 GB, free: 6.059 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.266e-05/0.2107, allocations: 15.92 kB / 0.5992 GB, free: 6.043 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 9.65e-05/0.2108, allocations: 23.91 kB / 0.5992 GB, free: 6.02 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.07e-05/0.2109, allocations: 0 / 0.5992 GB, free: 6.02 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.737e-05/0.2109, allocations: 4 kB / 0.5992 GB, free: 6.016 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.201e-05/0.2109, allocations: 7.938 kB / 0.5992 GB, free: 6.008 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 5.303e-05/0.211, allocations: 33.7 kB / 0.5993 GB, free: 5.969 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 9.088e-05/0.2111, allocations: 28.16 kB / 0.5993 GB, free: 5.941 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.404e-06/0.2111, allocations: 0 / 0.5993 GB, free: 5.941 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.765e-06/0.2111, allocations: 4 kB / 0.5993 GB, free: 5.938 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.59e-06/0.2111, allocations: 0 / 0.5993 GB, free: 5.938 MB / 0.4981 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.0007498/0.2119, allocations: 359.2 kB / 0.5996 GB, free: 5.539 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 6.251e-05/0.2119, allocations: 8.031 kB / 0.5996 GB, free: 5.531 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.822e-05/0.212, allocations: 38.56 kB / 0.5997 GB, free: 5.484 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.348e-05/0.212, allocations: 3.906 kB / 0.5997 GB, free: 5.48 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002246/0.2123, allocations: 178.8 kB / 0.5998 GB, free: 5.266 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.215e-05/0.2123, allocations: 15.98 kB / 0.5999 GB, free: 5.25 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.192e-05/0.2123, allocations: 4 kB / 0.5999 GB, free: 5.246 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00017/0.2125, allocations: 49.69 kB / 0.5999 GB, free: 5.191 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.432e-05/0.2125, allocations: 0 / 0.5999 GB, free: 5.191 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.212e-05/0.2126, allocations: 0 / 0.5999 GB, free: 5.191 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.327e-05/0.2126, allocations: 7.984 kB / 0.5999 GB, free: 5.184 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.543e-05/0.2127, allocations: 27.92 kB / 0.5999 GB, free: 5.156 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007238/0.2134, allocations: 312.7 kB / 0.6002 GB, free: 4.801 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001409/0.2136, allocations: 58.59 kB / 0.6003 GB, free: 4.734 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.231e-05/0.2136, allocations: 28.94 kB / 0.6003 GB, free: 4.703 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.466e-05/0.2137, allocations: 0 / 0.6003 GB, free: 4.703 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002399/0.2139, allocations: 71.39 kB / 0.6004 GB, free: 4.621 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=9): time 1.413e-06/0.2139, allocations: 0 / 0.6004 GB, free: 4.621 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9): time 0.0003254/0.2143, allocations: 101.6 kB / 0.6005 GB, free: 4.516 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.999e-05/0.2143, allocations: 55.41 kB / 0.6005 GB, free: 4.449 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001173/0.2145, allocations: 105.8 kB / 0.6006 GB, free: 4.336 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.801e-05/0.2145, allocations: 37.64 kB / 0.6007 GB, free: 4.293 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 9.761e-05/0.2146, allocations: 84.14 kB / 0.6008 GB, free: 4.207 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.537e-05/0.2146, allocations: 23.64 kB / 0.6008 GB, free: 4.184 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.382e-06/0.2147, allocations: 8 kB / 0.6008 GB, free: 4.176 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001857/0.2148, allocations: 318.8 kB / 0.6011 GB, free: 3.855 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.029e-05/0.2149, allocations: 16.36 kB / 0.6011 GB, free: 3.84 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.949e-05/0.215, allocations: 47.36 kB / 0.6012 GB, free: 3.781 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.345e-05/0.215, allocations: 20 kB / 0.6012 GB, free: 3.762 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.2151, allocations: 0 / 0.6012 GB, free: 3.762 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001604/0.2152, allocations: 97.55 kB / 0.6013 GB, free: 3.66 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.265e-05/0.2153, allocations: 5.094 kB / 0.6013 GB, free: 3.656 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.045e-05/0.2153, allocations: 7.938 kB / 0.6013 GB, free: 3.648 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.087e-05/0.2153, allocations: 0 / 0.6013 GB, free: 3.648 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.455e-05/0.2154, allocations: 11.95 kB / 0.6013 GB, free: 3.637 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.069e-05/0.2154, allocations: 4 kB / 0.6013 GB, free: 3.633 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.65e-05/0.2155, allocations: 11.89 kB / 0.6013 GB, free: 3.621 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.391e-05/0.2155, allocations: 8 kB / 0.6013 GB, free: 3.613 MB / 0.4981 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001469/0.2157, allocations: 125.5 kB / 0.6014 GB, free: 3.484 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.464e-05/0.2157, allocations: 4 kB / 0.6014 GB, free: 3.48 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.575e-05/0.2158, allocations: 7.969 kB / 0.6014 GB, free: 3.469 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/0.2158, allocations: 0 / 0.6014 GB, free: 3.469 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.558e-06/0.2158, allocations: 3.953 kB / 0.6015 GB, free: 3.465 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.047e-05/0.2158, allocations: 8.266 kB / 0.6015 GB, free: 3.457 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005104/0.2163, allocations: 362.4 kB / 0.6018 GB, free: 3.047 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.2163, allocations: 0 / 0.6018 GB, free: 3.047 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.789e-05/0.2164, allocations: 4 kB / 0.6018 GB, free: 3.043 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.728e-06/0.2164, allocations: 3.984 kB / 0.6018 GB, free: 3.039 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.212e-05/0.2164, allocations: 3.953 kB / 0.6018 GB, free: 3.035 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.2164, allocations: 0 / 0.6018 GB, free: 3.035 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.021e-06/0.2164, allocations: 0 / 0.6018 GB, free: 3.035 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002056/0.2166, allocations: 179.5 kB / 0.602 GB, free: 2.844 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.09e-05/0.2167, allocations: 92.95 kB / 0.6021 GB, free: 2.734 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.055e-05/0.2167, allocations: 4 kB / 0.6021 GB, free: 2.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.032e-05/0.2168, allocations: 16 kB / 0.6021 GB, free: 2.715 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.497e-05/0.2169, allocations: 7.984 kB / 0.6021 GB, free: 2.707 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.308e-06/0.2169, allocations: 4 kB / 0.6021 GB, free: 2.703 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.62e-05/0.217, allocations: 83.28 kB / 0.6022 GB, free: 2.621 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.217, allocations: 192 / 0.6022 GB, free: 2.621 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002733/0.2173, allocations: 12 kB / 0.6022 GB, free: 2.609 MB / 0.4981 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 () * Number of clocked 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.0006016/0.2179, allocations: 0.7318 MB / 0.6029 GB, free: 1.852 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001666/0.218, allocations: 55.86 kB / 0.603 GB, free: 1.797 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.2181, allocations: 0 / 0.603 GB, free: 1.797 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 6.414e-05/0.2181, allocations: 20 kB / 0.603 GB, free: 1.777 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003542/0.2185, allocations: 24 kB / 0.603 GB, free: 1.754 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001092/0.2196, allocations: 469.5 kB / 0.6035 GB, free: 1.238 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004032/0.22, allocations: 0.6848 MB / 0.6041 GB, free: 0.5273 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 5.191e-05/0.2201, allocations: 7.984 kB / 0.6041 GB, free: 0.5195 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.408e-05/0.2201, allocations: 15.44 kB / 0.6041 GB, free: 0.5039 MB / 0.4981 GB Notification: Performance of SimCode: time 9.21e-07/0.2202, allocations: 0 / 0.6041 GB, free: 0.5039 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3629/0.583, allocations: 1.484 MB / 0.6056 GB, free: 40.18 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002253/0.5833, allocations: 210.6 kB / 0.6058 GB, free: 39.95 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.954/2.537, allocations: 0 / 0.6058 GB, free: 39.95 MB / 0.4981 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Validation.OffTimerNonZeroStart.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Controls_Continuous_Validation_OffTimerNonZeroStart_fmu --startTime=-1 --stopTime=0 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Controls_Continuous_Validation_OffTimerNonZeroStart.fmu > BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe 2>&1) Environment - environmentSimulation: