Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001567/0.001567, allocations: 117.9 kB / 19.7 MB, free: 2.188 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00167/0.00167, allocations: 219.2 kB / 23 MB, free: 5.004 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.407/1.407, allocations: 230.6 MB / 256.8 MB, free: 7.973 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 1.006/1.006, allocations: 150 MB / 463.2 MB, free: 10.48 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Conversions.Validation.BooleanToReal,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Conversions_Validation_BooleanToReal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Conversions.Validation.BooleanToReal,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Conversions_Validation_BooleanToReal",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001994/0.001994, allocations: 66.2 kB / 0.6413 GB, free: 10.4 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1754/0.1774, allocations: 89.17 MB / 0.7283 GB, free: 1.301 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Conversions.Validation.BooleanToReal): time 0.001794/0.1792, allocations: 0.5999 MB / 0.7289 GB, free: 0.707 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.00147/0.1807, allocations: 1.147 MB / 0.73 GB, free: 15.55 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.189e-05/0.1807, allocations: 0 / 0.73 GB, free: 15.55 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.174e-05/0.1807, allocations: 0 / 0.73 GB, free: 15.55 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 6.812e-05/0.1808, allocations: 7.922 kB / 0.73 GB, free: 15.54 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004572/0.1813, allocations: 126.3 kB / 0.7302 GB, free: 15.42 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001605/0.1814, allocations: 95.81 kB / 0.7303 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 8.466e-05/0.1815, allocations: 8 kB / 0.7303 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 6.74e-05/0.1816, allocations: 31.92 kB / 0.7303 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001013/0.1817, allocations: 39.88 kB / 0.7303 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.205e-05/0.1817, allocations: 8 kB / 0.7303 GB, free: 15.24 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 6.042e-05/0.1818, allocations: 15.98 kB / 0.7304 GB, free: 15.22 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.525e-05/0.1818, allocations: 8 kB / 0.7304 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 5.619e-05/0.1818, allocations: 31.86 kB / 0.7304 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001623/0.182, allocations: 84 kB / 0.7305 GB, free: 15.1 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 1.372e-05/0.182, allocations: 12 kB / 0.7305 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.092e-06/0.182, allocations: 0 / 0.7305 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.338e-06/0.182, allocations: 0 / 0.7305 GB, free: 15.09 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004337/0.1825, allocations: 299.9 kB / 0.7308 GB, free: 14.76 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.593e-05/0.1825, allocations: 8.031 kB / 0.7308 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.78e-05/0.1825, allocations: 34.75 kB / 0.7308 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.179e-05/0.1826, allocations: 12.88 kB / 0.7308 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001097/0.1827, allocations: 114.5 kB / 0.7309 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.954e-05/0.1827, allocations: 8.312 kB / 0.7309 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.937e-05/0.1827, allocations: 8.375 kB / 0.731 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.328e-05/0.1828, allocations: 38.25 kB / 0.731 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.1828, allocations: 3.938 kB / 0.731 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.818e-06/0.1828, allocations: 4 kB / 0.731 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-06/0.1828, allocations: 0 / 0.731 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.664e-05/0.1829, allocations: 8 kB / 0.731 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004034/0.1833, allocations: 260 kB / 0.7313 GB, free: 14.19 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 7.324e-05/0.1833, allocations: 34.45 kB / 0.7313 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.136e-05/0.1834, allocations: 8.922 kB / 0.7313 GB, free: 14.13 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 7.574e-06/0.1834, allocations: 3.984 kB / 0.7313 GB, free: 14.13 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001513/0.1835, allocations: 63.34 kB / 0.7314 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.1835, allocations: 0 / 0.7314 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of matching and sorting (n=4): time 0.0001977/0.1837, allocations: 77.61 kB / 0.7314 GB, free: 13.97 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.016e-05/0.1838, allocations: 55.41 kB / 0.7315 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.823e-05/0.1839, allocations: 109.8 kB / 0.7316 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.798e-05/0.1839, allocations: 33.7 kB / 0.7316 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.669e-05/0.184, allocations: 84.14 kB / 0.7317 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.399e-05/0.184, allocations: 7.906 kB / 0.7317 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.166e-05/0.184, allocations: 33.7 kB / 0.7317 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001396/0.1842, allocations: 314.8 kB / 0.732 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.356e-05/0.1842, allocations: 31.98 kB / 0.7321 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.574e-05/0.1843, allocations: 50.56 kB / 0.7321 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001228/0.1845, allocations: 92.2 kB / 0.7322 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.1845, allocations: 0 / 0.7322 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000258/0.1847, allocations: 155.2 kB / 0.7324 GB, free: 12.94 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.855e-05/0.1848, allocations: 37.69 kB / 0.7324 GB, free: 12.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.1848, allocations: 0 / 0.7324 GB, free: 12.9 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.785e-05/0.1848, allocations: 4 kB / 0.7324 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.622e-05/0.1848, allocations: 4.062 kB / 0.7324 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/0.1848, allocations: 0 / 0.7324 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001827/0.185, allocations: 35.92 kB / 0.7324 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.753e-05/0.185, allocations: 7.984 kB / 0.7324 GB, free: 12.85 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,booPul.y,$PRE.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 1 * 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 9.756e-05/0.1851, allocations: 114.2 kB / 0.7326 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.927e-06/0.1851, allocations: 3.938 kB / 0.7326 GB, free: 12.72 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.598e-05/0.1852, allocations: 12 kB / 0.7326 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.312e-06/0.1852, allocations: 4 kB / 0.7326 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.1852, allocations: 3.938 kB / 0.7326 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.1852, allocations: 0 / 0.7326 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001215/0.1853, allocations: 140.7 kB / 0.7327 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.1853, allocations: 0 / 0.7327 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.599e-05/0.1853, allocations: 4 kB / 0.7327 GB, free: 12.51 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.422e-06/0.1853, allocations: 0 / 0.7327 GB, free: 12.51 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.363e-06/0.1853, allocations: 4 kB / 0.7327 GB, free: 12.51 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.036e-06/0.1853, allocations: 3.984 kB / 0.7327 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.1853, allocations: 0 / 0.7327 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001267/0.1854, allocations: 89.02 kB / 0.7328 GB, free: 12.4 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.067e-05/0.1855, allocations: 7.938 kB / 0.7328 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.198e-05/0.1855, allocations: 0 / 0.7328 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.308e-05/0.1855, allocations: 0 / 0.7328 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.168e-05/0.1855, allocations: 7.984 kB / 0.7328 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.881e-06/0.1855, allocations: 7.938 kB / 0.7328 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.835e-05/0.1856, allocations: 83.27 kB / 0.7329 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of sort global known variables: time 6e-08/0.1856, allocations: 0 / 0.7329 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002127/0.1858, allocations: 27.98 kB / 0.7329 GB, free: 12.27 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0004593/0.1863, allocations: 0.628 MB / 0.7335 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.000227/0.1865, allocations: 115.3 kB / 0.7337 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.1865, allocations: 0 / 0.7337 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 3.267e-05/0.1865, allocations: 8.125 kB / 0.7337 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001913/0.1867, allocations: 18.91 kB / 0.7337 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001525/0.1882, allocations: 1.385 MB / 0.735 GB, free: 9.973 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000342/0.1886, allocations: 0.6807 MB / 0.7357 GB, free: 9.266 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 1.763e-05/0.1886, allocations: 0 / 0.7357 GB, free: 9.266 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.776e-05/0.1886, allocations: 27.41 kB / 0.7357 GB, free: 9.238 MB / 0.5606 GB Notification: Performance of SimCode: time 3e-07/0.1886, allocations: 0 / 0.7357 GB, free: 9.238 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02853/0.2172, allocations: 2.127 MB / 0.7378 GB, free: 7.262 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.46/10.68, allocations: 6.672 kB / 0.7378 GB, free: 7.262 MB / 0.5606 GB " [Timeout remaining time 649] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_OBC_CDL_Conversions_Validation_BooleanToReal_fmu --startTime=0 --stopTime=4 --stepSize=0.0016 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_OBC_CDL_Conversions_Validation_BooleanToReal.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.318049059947953] Failed to read output from testmodel.py, exit status != 0: 10.784664805047214 10.805000393 10.619984809 Calling exit ...