Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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.0007942/0.0007942, allocations: 105.5 kB / 18.95 MB, free: 1.184 MB / 13.93 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.0007902/0.0007902, allocations: 206.6 kB / 22.24 MB, free: 3.582 MB / 13.93 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 0.9734/0.9734, allocations: 230.6 MB / 256 MB, free: 9.621 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.8035/0.8035, allocations: 203.8 MB / 0.5042 GB, free: 10.5 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 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(IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToReal,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Conversions_Validation_BooleanToReal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToReal,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Conversions_Validation_BooleanToReal",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS 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.0009472/0.0009472, allocations: 73.42 kB / 0.7182 GB, free: 4.09 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5649/0.5658, allocations: 102 MB / 0.8178 GB, free: 1.062 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToReal): time 0.001383/0.5672, allocations: 0.6007 MB / 0.8184 GB, free: 0.6875 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001088/0.5683, allocations: 1.139 MB / 0.8195 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.507e-05/0.5683, allocations: 0 / 0.8195 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.71e-05/0.5683, allocations: 1.641 kB / 0.8195 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.544e-05/0.5684, allocations: 5.609 kB / 0.8195 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004237/0.5688, allocations: 118.9 kB / 0.8196 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001495/0.569, allocations: 87.94 kB / 0.8197 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.539e-05/0.5691, allocations: 11.73 kB / 0.8197 GB, free: 15.76 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 7.144e-05/0.5692, allocations: 42.09 kB / 0.8197 GB, free: 15.74 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 9.318e-05/0.5692, allocations: 25.89 kB / 0.8197 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.752e-05/0.5693, allocations: 8.812 kB / 0.8198 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 6.077e-05/0.5693, allocations: 20.39 kB / 0.8198 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.282e-05/0.5693, allocations: 6.375 kB / 0.8198 GB, free: 15.72 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.24e-05/0.5694, allocations: 31.34 kB / 0.8198 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001672/0.5696, allocations: 88.7 kB / 0.8199 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.5696, allocations: 0.8438 kB / 0.8199 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.014e-06/0.5696, allocations: 0 / 0.8199 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.153e-06/0.5696, allocations: 4 kB / 0.8199 GB, free: 15.68 MB / 0.6198 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.0004049/0.57, allocations: 302.3 kB / 0.8202 GB, free: 15.37 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.236e-05/0.57, allocations: 7.781 kB / 0.8202 GB, free: 15.37 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.778e-05/0.5701, allocations: 36.38 kB / 0.8202 GB, free: 15.33 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.072e-05/0.5701, allocations: 6.641 kB / 0.8202 GB, free: 15.33 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.024e-05/0.5702, allocations: 106.8 kB / 0.8203 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.069e-05/0.5702, allocations: 6.266 kB / 0.8203 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.354e-05/0.5702, allocations: 11.34 kB / 0.8204 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.061e-05/0.5703, allocations: 43.25 kB / 0.8204 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.246e-06/0.5703, allocations: 3.938 kB / 0.8204 GB, free: 15.15 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.257e-06/0.5703, allocations: 0.6094 kB / 0.8204 GB, free: 15.15 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.5703, allocations: 4 kB / 0.8204 GB, free: 15.15 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.999e-05/0.5704, allocations: 11.39 kB / 0.8204 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003482/0.5707, allocations: 246 kB / 0.8207 GB, free: 14.9 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 6.003e-05/0.5708, allocations: 37.36 kB / 0.8207 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.815e-05/0.5708, allocations: 14.02 kB / 0.8207 GB, free: 14.85 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 8.947e-06/0.5708, allocations: 0.5156 kB / 0.8207 GB, free: 14.85 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001529/0.571, allocations: 59.98 kB / 0.8208 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 1.463e-06/0.571, allocations: 0 / 0.8208 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4): time 0.0001843/0.5711, allocations: 70.36 kB / 0.8208 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.324e-05/0.5712, allocations: 56.02 kB / 0.8209 GB, free: 14.69 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.471e-05/0.5713, allocations: 118.6 kB / 0.821 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.709e-05/0.5713, allocations: 29.12 kB / 0.821 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.114e-05/0.5713, allocations: 86.98 kB / 0.8211 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.443e-05/0.5713, allocations: 9.672 kB / 0.8211 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.609e-05/0.5714, allocations: 31.77 kB / 0.8211 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.439e-05/0.5714, allocations: 314.6 kB / 0.8214 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.689e-05/0.5715, allocations: 64.36 kB / 0.8215 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.027e-05/0.5716, allocations: 82.44 kB / 0.8216 GB, free: 14 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.514e-05/0.5717, allocations: 94.7 kB / 0.8217 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.5717, allocations: 0 / 0.8217 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.00019/0.5719, allocations: 182.7 kB / 0.8218 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.233e-05/0.5719, allocations: 36.5 kB / 0.8219 GB, free: 13.76 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.391e-06/0.5719, allocations: 0.5156 kB / 0.8219 GB, free: 13.76 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.243e-05/0.5719, allocations: 0 / 0.8219 GB, free: 13.76 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.409e-05/0.572, allocations: 5.719 kB / 0.8219 GB, free: 13.76 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.572, allocations: 0.5156 kB / 0.8219 GB, free: 13.76 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001409/0.5721, allocations: 33.12 kB / 0.8219 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.415e-05/0.5721, allocations: 4.594 kB / 0.8219 GB, free: 13.75 MB / 0.6198 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 7.184e-05/0.5722, allocations: 121.8 kB / 0.822 GB, free: 13.63 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.665e-06/0.5722, allocations: 4.703 kB / 0.822 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.447e-05/0.5722, allocations: 6.469 kB / 0.822 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.5722, allocations: 0 / 0.822 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.91e-06/0.5723, allocations: 3.719 kB / 0.8221 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.5723, allocations: 0.6562 kB / 0.8221 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.01e-05/0.5723, allocations: 130.8 kB / 0.8222 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.5723, allocations: 0.7031 kB / 0.8222 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.341e-05/0.5723, allocations: 6.719 kB / 0.8222 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.5724, allocations: 0.7031 kB / 0.8222 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.422e-06/0.5724, allocations: 7.875 kB / 0.8222 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.385e-06/0.5724, allocations: 3.453 kB / 0.8222 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.5724, allocations: 0 / 0.8222 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.321e-05/0.5725, allocations: 93.09 kB / 0.8223 GB, free: 13.36 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 6.412e-06/0.5725, allocations: 1.047 kB / 0.8223 GB, free: 13.36 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.326e-05/0.5725, allocations: 5.062 kB / 0.8223 GB, free: 13.36 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.222e-05/0.5725, allocations: 1.547 kB / 0.8223 GB, free: 13.36 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.514e-05/0.5725, allocations: 12.44 kB / 0.8223 GB, free: 13.35 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.589e-06/0.5725, allocations: 0.6562 kB / 0.8223 GB, free: 13.35 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.477e-05/0.5726, allocations: 96.64 kB / 0.8224 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5726, allocations: 0 / 0.8224 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001399/0.5727, allocations: 13.64 kB / 0.8224 GB, free: 13.27 MB / 0.6198 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.0002932/0.573, allocations: 0.6279 MB / 0.823 GB, free: 12.66 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001876/0.5732, allocations: 146 kB / 0.8232 GB, free: 12.54 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.5732, allocations: 0 / 0.8232 GB, free: 12.54 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 2.386e-05/0.5732, allocations: 12.08 kB / 0.8232 GB, free: 12.54 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001725/0.5734, allocations: 7.859 kB / 0.8232 GB, free: 12.54 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001158/0.5745, allocations: 1.523 MB / 0.8247 GB, free: 11.13 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.212e-05/0.5746, allocations: 63.62 kB / 0.8247 GB, free: 11.06 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.642e-05/0.5746, allocations: 3.391 kB / 0.8247 GB, free: 11.06 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.53e-05/0.5747, allocations: 17.62 kB / 0.8247 GB, free: 11.05 MB / 0.6198 GB Notification: Performance of SimCode: time 5.01e-07/0.5747, allocations: 0 / 0.8247 GB, free: 11.05 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0165/0.5912, allocations: 2.631 MB / 0.8273 GB, free: 10.13 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.29/6.881, allocations: 5.328 kB / 0.8273 GB, free: 10.13 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_OBC_CDL_Conversions_Validation_BooleanToReal_fmu --startTime=0 --stopTime=4 --stepSize=0.0016 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Controls_OBC_CDL_Conversions_Validation_BooleanToReal.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.884096661116928] Failed to read output from testmodel.py, exit status != 0: 6.956800652202219 6.970629376 6.398950857 Calling exit ...