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.0007695/0.0007695, allocations: 101.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.0008164/0.0008164, allocations: 209.2 kB / 22.24 MB, free: 3.59 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.9428/0.9428, allocations: 230.6 MB / 256 MB, free: 9.59 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.7796/0.7796, allocations: 203.8 MB / 0.5042 GB, free: 10.01 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.0008972/0.0008972, allocations: 66.5 kB / 0.7181 GB, free: 4.027 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4943/0.4952, allocations: 102 MB / 0.8178 GB, free: 1.016 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToReal): time 0.00152/0.4967, allocations: 0.5962 MB / 0.8184 GB, free: 0.6445 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001062/0.4978, allocations: 1.135 MB / 0.8195 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.137e-05/0.4978, allocations: 1.219 kB / 0.8195 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.637e-05/0.4978, allocations: 0 / 0.8195 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.697e-05/0.4979, allocations: 5.25 kB / 0.8195 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000405/0.4983, allocations: 127 kB / 0.8196 GB, free: 15.76 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001408/0.4984, allocations: 92.72 kB / 0.8197 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.426e-05/0.4985, allocations: 5.969 kB / 0.8197 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 8.494e-05/0.4986, allocations: 36.95 kB / 0.8197 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001277/0.4987, allocations: 30.77 kB / 0.8198 GB, free: 15.69 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.269e-05/0.4988, allocations: 7.781 kB / 0.8198 GB, free: 15.69 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 7.125e-05/0.4988, allocations: 23.66 kB / 0.8198 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.495e-05/0.4988, allocations: 5.156 kB / 0.8198 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.875e-05/0.4989, allocations: 32.14 kB / 0.8198 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001806/0.4991, allocations: 83.98 kB / 0.8199 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.4991, allocations: 0.6562 kB / 0.8199 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.743e-06/0.4991, allocations: 0 / 0.8199 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.065e-06/0.4991, allocations: 2.156 kB / 0.8199 GB, free: 15.64 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.0004186/0.4995, allocations: 309.5 kB / 0.8202 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.449e-05/0.4996, allocations: 9.875 kB / 0.8202 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.8e-05/0.4996, allocations: 36.89 kB / 0.8202 GB, free: 15.28 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.49e-05/0.4996, allocations: 5.875 kB / 0.8202 GB, free: 15.28 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.053e-05/0.4997, allocations: 111.2 kB / 0.8204 GB, free: 15.15 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.921e-05/0.4997, allocations: 2.844 kB / 0.8204 GB, free: 15.15 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.389e-05/0.4997, allocations: 4.531 kB / 0.8204 GB, free: 15.15 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.903e-05/0.4998, allocations: 39.44 kB / 0.8204 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.873e-06/0.4998, allocations: 3.938 kB / 0.8204 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.177e-06/0.4998, allocations: 1.828 kB / 0.8204 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.508e-06/0.4998, allocations: 0 / 0.8204 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.766e-05/0.4999, allocations: 14.58 kB / 0.8204 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003307/0.5002, allocations: 245.7 kB / 0.8206 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 5.134e-05/0.5003, allocations: 38.59 kB / 0.8207 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.931e-05/0.5003, allocations: 13.06 kB / 0.8207 GB, free: 14.81 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 9.047e-06/0.5003, allocations: 0 / 0.8207 GB, free: 14.81 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001206/0.5004, allocations: 60.44 kB / 0.8208 GB, free: 14.76 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 7.92e-07/0.5004, allocations: 0 / 0.8208 GB, free: 14.76 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4): time 0.000165/0.5006, allocations: 69.05 kB / 0.8208 GB, free: 14.71 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.043e-05/0.5006, allocations: 53.59 kB / 0.8209 GB, free: 14.65 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.598e-05/0.5007, allocations: 126.4 kB / 0.821 GB, free: 14.53 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.853e-05/0.5007, allocations: 28.62 kB / 0.821 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.126e-05/0.5007, allocations: 84.53 kB / 0.8211 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.361e-05/0.5007, allocations: 11.69 kB / 0.8211 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.732e-05/0.5008, allocations: 28.83 kB / 0.8211 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.233e-05/0.5009, allocations: 314.3 kB / 0.8214 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.474e-05/0.5009, allocations: 60.16 kB / 0.8215 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.742e-05/0.501, allocations: 87.97 kB / 0.8216 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.209e-05/0.5011, allocations: 89.14 kB / 0.8217 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.5011, allocations: 5.344 kB / 0.8217 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001865/0.5013, allocations: 187.5 kB / 0.8219 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.052e-05/0.5013, allocations: 33.41 kB / 0.8219 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.5013, allocations: 3.531 kB / 0.8219 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.292e-05/0.5014, allocations: 4.688 kB / 0.8219 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.836e-05/0.5014, allocations: 3.453 kB / 0.8219 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.219e-06/0.5014, allocations: 3.938 kB / 0.8219 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001279/0.5015, allocations: 30.5 kB / 0.8219 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.291e-05/0.5016, allocations: 7.953 kB / 0.8219 GB, free: 13.7 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 6.483e-05/0.5016, allocations: 120.1 kB / 0.822 GB, free: 13.58 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.935e-06/0.5016, allocations: 6.391 kB / 0.8221 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.026e-05/0.5016, allocations: 7.297 kB / 0.8221 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.5016, allocations: 0 / 0.8221 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.5017, allocations: 0 / 0.8221 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.5017, allocations: 0.5156 kB / 0.8221 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.508e-05/0.5017, allocations: 133.4 kB / 0.8222 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.5017, allocations: 0 / 0.8222 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.44e-05/0.5018, allocations: 4.484 kB / 0.8222 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.5018, allocations: 4 kB / 0.8222 GB, free: 13.4 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.145e-05/0.5018, allocations: 0.7031 kB / 0.8222 GB, free: 13.4 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.5018, allocations: 0 / 0.8222 GB, free: 13.4 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.5018, allocations: 2.125 kB / 0.8222 GB, free: 13.4 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001056/0.5019, allocations: 92.95 kB / 0.8223 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 6.011e-06/0.5019, allocations: 4.641 kB / 0.8223 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.758e-05/0.5019, allocations: 6.25 kB / 0.8223 GB, free: 13.31 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.995e-05/0.5019, allocations: 0.75 kB / 0.8223 GB, free: 13.31 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.893e-05/0.502, allocations: 9.5 kB / 0.8223 GB, free: 13.31 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.719e-06/0.502, allocations: 4 kB / 0.8223 GB, free: 13.3 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.388e-05/0.502, allocations: 82.33 kB / 0.8224 GB, free: 13.23 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6.1e-08/0.502, allocations: 7.25 kB / 0.8224 GB, free: 13.23 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001386/0.5021, allocations: 17.92 kB / 0.8224 GB, free: 13.22 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.0002793/0.5024, allocations: 0.6259 MB / 0.823 GB, free: 12.62 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001852/0.5026, allocations: 142.6 kB / 0.8232 GB, free: 12.5 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.5026, allocations: 0 / 0.8232 GB, free: 12.5 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 2.354e-05/0.5026, allocations: 13.31 kB / 0.8232 GB, free: 12.5 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001535/0.5028, allocations: 6.828 kB / 0.8232 GB, free: 12.5 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001155/0.5039, allocations: 1.529 MB / 0.8247 GB, free: 11.09 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.799e-05/0.504, allocations: 63.83 kB / 0.8247 GB, free: 11.02 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.431e-05/0.504, allocations: 3 kB / 0.8247 GB, free: 11.02 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.734e-05/0.5041, allocations: 10.97 kB / 0.8247 GB, free: 11.01 MB / 0.6198 GB Notification: Performance of SimCode: time 3.1e-07/0.5041, allocations: 0 / 0.8247 GB, free: 11.01 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01566/0.5197, allocations: 2.637 MB / 0.8273 GB, free: 10.09 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.735/7.255, allocations: 1.031 kB / 0.8273 GB, free: 10.09 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 & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToReal_res.csv --start-time 0 --stop-time 4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0016 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: 10.230708136223257] Failed to read output from testmodel.py, exit status != 0: 7.332754185888916 7.345129807 6.8440069 Calling exit ...