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.0008099/0.0008099, allocations: 80.45 kB / 19.15 MB, free: 0.7734 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.000969/0.000969, allocations: 162 kB / 22.43 MB, free: 2.145 MB / 18.57 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.8831/0.8831, allocations: 177.2 MB / 202.8 MB, free: 5.789 MB / 186.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.7086/0.7086, allocations: 155 MB / 414.2 MB, free: 472 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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.0009277/0.0009277, allocations: 69.95 kB / 0.6186 GB, free: 12.19 MB / 0.5417 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of FrontEnd - Absyn->SCode: time 0.4561/0.457, allocations: 102 MB / 0.7182 GB, free: 13.37 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToReal): time 0.001551/0.4586, allocations: 0.5924 MB / 0.7188 GB, free: 12.77 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001096/0.4597, allocations: 1.137 MB / 0.7199 GB, free: 11.63 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.491e-05/0.4597, allocations: 0 / 0.7199 GB, free: 11.63 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.884e-05/0.4597, allocations: 3.938 kB / 0.7199 GB, free: 11.62 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.455e-05/0.4598, allocations: 7.938 kB / 0.7199 GB, free: 11.62 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.000409/0.4602, allocations: 126.5 kB / 0.72 GB, free: 11.5 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.000135/0.4603, allocations: 83.89 kB / 0.7201 GB, free: 11.41 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.829e-05/0.4604, allocations: 11.92 kB / 0.7201 GB, free: 11.4 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 8.659e-05/0.4605, allocations: 55.89 kB / 0.7202 GB, free: 11.35 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 8.769e-05/0.4606, allocations: 27.89 kB / 0.7202 GB, free: 11.32 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.788e-05/0.4606, allocations: 8 kB / 0.7202 GB, free: 11.31 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 5.253e-05/0.4607, allocations: 16 kB / 0.7202 GB, free: 11.3 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.049e-05/0.4607, allocations: 8 kB / 0.7202 GB, free: 11.29 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.581e-05/0.4607, allocations: 35.89 kB / 0.7203 GB, free: 11.25 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.000163/0.4609, allocations: 103.7 kB / 0.7204 GB, free: 11.15 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.4609, allocations: 0 / 0.7204 GB, free: 11.15 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.064e-06/0.4609, allocations: 0 / 0.7204 GB, free: 11.15 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.223e-06/0.4609, allocations: 0 / 0.7204 GB, free: 11.15 MB / 0.6042 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.0004012/0.4613, allocations: 311.9 kB / 0.7207 GB, free: 10.81 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.305e-05/0.4614, allocations: 13.47 kB / 0.7207 GB, free: 10.8 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.653e-05/0.4614, allocations: 30.75 kB / 0.7207 GB, free: 10.76 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.747e-05/0.4614, allocations: 4.938 kB / 0.7207 GB, free: 10.75 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.54e-05/0.4615, allocations: 114.5 kB / 0.7208 GB, free: 10.62 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.945e-05/0.4615, allocations: 8.375 kB / 0.7208 GB, free: 10.61 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.607e-05/0.4615, allocations: 4.375 kB / 0.7208 GB, free: 10.61 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.783e-05/0.4616, allocations: 42.25 kB / 0.7209 GB, free: 10.56 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/0.4616, allocations: 3.938 kB / 0.7209 GB, free: 10.55 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.039e-05/0.4617, allocations: 0 / 0.7209 GB, free: 10.55 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.77e-06/0.4617, allocations: 0 / 0.7209 GB, free: 10.55 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.549e-05/0.4617, allocations: 15.94 kB / 0.7209 GB, free: 10.54 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003407/0.462, allocations: 240 kB / 0.7211 GB, free: 10.26 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 5.909e-05/0.4621, allocations: 30.52 kB / 0.7212 GB, free: 10.22 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.952e-05/0.4621, allocations: 12.92 kB / 0.7212 GB, free: 10.21 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 8.246e-06/0.4621, allocations: 4 kB / 0.7212 GB, free: 10.2 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001515/0.4623, allocations: 67.27 kB / 0.7212 GB, free: 10.12 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=4): time 1.502e-06/0.4623, allocations: 3.938 kB / 0.7212 GB, free: 10.12 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4): time 0.0001754/0.4625, allocations: 69.67 kB / 0.7213 GB, free: 10.05 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.969e-05/0.4625, allocations: 55.39 kB / 0.7214 GB, free: 9.98 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.409e-05/0.4626, allocations: 117.8 kB / 0.7215 GB, free: 9.855 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.095e-05/0.4626, allocations: 29.7 kB / 0.7215 GB, free: 9.82 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.389e-05/0.4626, allocations: 84.14 kB / 0.7216 GB, free: 9.734 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.279e-05/0.4626, allocations: 7.953 kB / 0.7216 GB, free: 9.727 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.249e-05/0.4627, allocations: 29.7 kB / 0.7216 GB, free: 9.691 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.822e-05/0.4628, allocations: 326.8 kB / 0.7219 GB, free: 9.363 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.443e-05/0.4629, allocations: 57.69 kB / 0.722 GB, free: 9.301 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.15e-05/0.4629, allocations: 84.25 kB / 0.7221 GB, free: 9.203 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.571e-05/0.463, allocations: 88.2 kB / 0.7222 GB, free: 9.102 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.463, allocations: 0 / 0.7222 GB, free: 9.102 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001868/0.4632, allocations: 181 kB / 0.7223 GB, free: 8.906 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 3.264e-05/0.4632, allocations: 37.69 kB / 0.7224 GB, free: 8.863 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.4632, allocations: 3.938 kB / 0.7224 GB, free: 8.859 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.233e-05/0.4632, allocations: 4.297 kB / 0.7224 GB, free: 8.855 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.4e-05/0.4633, allocations: 4 kB / 0.7224 GB, free: 8.852 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/0.4633, allocations: 0 / 0.7224 GB, free: 8.852 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000135/0.4634, allocations: 31.91 kB / 0.7224 GB, free: 8.82 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.334e-05/0.4635, allocations: 4 kB / 0.7224 GB, free: 8.816 MB / 0.6042 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.489e-05/0.4635, allocations: 128.1 kB / 0.7225 GB, free: 8.684 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.653e-06/0.4635, allocations: 3.984 kB / 0.7225 GB, free: 8.68 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.264e-05/0.4636, allocations: 4 kB / 0.7225 GB, free: 8.672 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.4636, allocations: 8 kB / 0.7225 GB, free: 8.664 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.4636, allocations: 0 / 0.7225 GB, free: 8.664 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.4636, allocations: 0 / 0.7225 GB, free: 8.664 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.141e-05/0.4637, allocations: 140.7 kB / 0.7227 GB, free: 8.484 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.4637, allocations: 0 / 0.7227 GB, free: 8.484 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.335e-05/0.4637, allocations: 0 / 0.7227 GB, free: 8.484 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.242e-06/0.4637, allocations: 0 / 0.7227 GB, free: 8.484 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.175e-05/0.4637, allocations: 11.98 kB / 0.7227 GB, free: 8.473 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.235e-06/0.4637, allocations: 0 / 0.7227 GB, free: 8.473 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.963e-06/0.4637, allocations: 3.938 kB / 0.7227 GB, free: 8.469 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.948e-05/0.4638, allocations: 81.06 kB / 0.7228 GB, free: 8.371 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 6.142e-06/0.4638, allocations: 11.94 kB / 0.7228 GB, free: 8.359 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.01e-05/0.4638, allocations: 0 / 0.7228 GB, free: 8.359 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.193e-05/0.4638, allocations: 0 / 0.7228 GB, free: 8.359 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.721e-05/0.4638, allocations: 7.984 kB / 0.7228 GB, free: 8.352 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.23e-06/0.4638, allocations: 4 kB / 0.7228 GB, free: 8.348 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.462e-05/0.4639, allocations: 87.27 kB / 0.7229 GB, free: 8.262 MB / 0.6042 GB Notification: Performance of sort global known variables: time 5e-08/0.4639, allocations: 3.938 kB / 0.7229 GB, free: 8.258 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.00014/0.464, allocations: 19.95 kB / 0.7229 GB, free: 8.238 MB / 0.6042 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.0005748/0.4646, allocations: 0.6213 MB / 0.7235 GB, free: 7.59 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001778/0.4648, allocations: 145.1 kB / 0.7236 GB, free: 7.43 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.4648, allocations: 0 / 0.7236 GB, free: 7.43 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 2.474e-05/0.4648, allocations: 23.91 kB / 0.7237 GB, free: 7.406 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001714/0.465, allocations: 4 kB / 0.7237 GB, free: 7.402 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001048/0.466, allocations: 1.519 MB / 0.7252 GB, free: 5.758 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.339e-05/0.4661, allocations: 63.34 kB / 0.7252 GB, free: 5.676 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 2.038e-05/0.4661, allocations: 4 kB / 0.7252 GB, free: 5.672 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.276e-05/0.4661, allocations: 12.62 kB / 0.7252 GB, free: 5.66 MB / 0.6042 GB Notification: Performance of SimCode: time 1.032e-06/0.4661, allocations: 0 / 0.7252 GB, free: 5.66 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02203/0.4881, allocations: 2.759 MB / 0.7279 GB, free: 3.062 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.587/7.075, allocations: 5.281 kB / 0.7279 GB, free: 3.062 MB / 0.6042 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.682730149943382] Failed to read output from testmodel.py, exit status != 0: 7.152209141058847 7.159466394 6.696707641 Calling exit ...