Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.001697/0.001697, allocations: 72.45 kB / 19.02 MB, free: 1.105 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.001955/0.001955, allocations: 159.2 kB / 22.29 MB, free: 3.512 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 1.48/1.48, allocations: 177.2 MB / 202.7 MB, free: 4.812 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 1.234/1.234, allocations: 154.7 MB / 413.8 MB, free: 3.133 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/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_IDEAS_Controls_OBC_CDL_Conversions_Validation_BooleanToReal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToReal,fileNamePrefix="IDEAS_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.002927/0.002927, allocations: 62.66 kB / 0.618 GB, free: 1.152 MB / 0.5105 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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.2507/0.2536, allocations: 102 MB / 0.7176 GB, free: 11.28 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToReal): time 0.001891/0.2555, allocations: 0.5961 MB / 0.7182 GB, free: 10.68 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001639/0.2572, allocations: 1.131 MB / 0.7193 GB, free: 9.539 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.312e-05/0.2572, allocations: 3.938 kB / 0.7193 GB, free: 9.535 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.089e-05/0.2572, allocations: 3.938 kB / 0.7193 GB, free: 9.531 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.985e-05/0.2573, allocations: 3.938 kB / 0.7193 GB, free: 9.527 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004685/0.2578, allocations: 127.1 kB / 0.7194 GB, free: 9.406 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001621/0.2579, allocations: 87.81 kB / 0.7195 GB, free: 9.32 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001031/0.258, allocations: 11.98 kB / 0.7195 GB, free: 9.309 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 9.775e-05/0.2581, allocations: 47.97 kB / 0.7196 GB, free: 9.262 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 9.903e-05/0.2582, allocations: 35.88 kB / 0.7196 GB, free: 9.227 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.557e-05/0.2583, allocations: 8 kB / 0.7196 GB, free: 9.219 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 6.09e-05/0.2583, allocations: 16 kB / 0.7196 GB, free: 9.203 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.111e-05/0.2583, allocations: 8 kB / 0.7196 GB, free: 9.195 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.676e-05/0.2584, allocations: 27.91 kB / 0.7197 GB, free: 9.168 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001644/0.2586, allocations: 87.95 kB / 0.7198 GB, free: 9.082 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 7.224e-06/0.2586, allocations: 4 kB / 0.7198 GB, free: 9.078 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.583e-06/0.2586, allocations: 0 / 0.7198 GB, free: 9.078 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.43e-06/0.2586, allocations: 0 / 0.7198 GB, free: 9.078 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.0005151/0.2591, allocations: 307.9 kB / 0.7201 GB, free: 8.738 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.289e-05/0.2591, allocations: 12.03 kB / 0.7201 GB, free: 8.727 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.742e-05/0.2592, allocations: 30.75 kB / 0.7201 GB, free: 8.688 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.268e-05/0.2592, allocations: 8.938 kB / 0.7201 GB, free: 8.68 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001297/0.2594, allocations: 110.5 kB / 0.7202 GB, free: 8.547 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.336e-05/0.2594, allocations: 4.375 kB / 0.7202 GB, free: 8.543 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.874e-05/0.2594, allocations: 8.312 kB / 0.7202 GB, free: 8.535 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001011/0.2595, allocations: 38.25 kB / 0.7203 GB, free: 8.492 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.222e-05/0.2595, allocations: 3.938 kB / 0.7203 GB, free: 8.488 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.051e-05/0.2595, allocations: 4 kB / 0.7203 GB, free: 8.484 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.2595, allocations: 0 / 0.7203 GB, free: 8.484 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.491e-05/0.2596, allocations: 19.92 kB / 0.7203 GB, free: 8.465 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004479/0.26, allocations: 252 kB / 0.7205 GB, free: 8.176 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 7.224e-05/0.2601, allocations: 30.5 kB / 0.7206 GB, free: 8.137 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.42e-05/0.2601, allocations: 8.859 kB / 0.7206 GB, free: 8.125 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 7.514e-06/0.2601, allocations: 64 / 0.7206 GB, free: 8.125 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001998/0.2603, allocations: 67.33 kB / 0.7206 GB, free: 8.047 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 9.62e-07/0.2603, allocations: 0 / 0.7206 GB, free: 8.047 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4): time 0.0002237/0.2605, allocations: 65.69 kB / 0.7207 GB, free: 7.977 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.316e-05/0.2606, allocations: 55.41 kB / 0.7207 GB, free: 7.91 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001021/0.2607, allocations: 109.8 kB / 0.7208 GB, free: 7.793 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.802e-05/0.2607, allocations: 29.7 kB / 0.7209 GB, free: 7.758 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.71e-05/0.2608, allocations: 92.12 kB / 0.721 GB, free: 7.664 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.574e-05/0.2608, allocations: 7.953 kB / 0.721 GB, free: 7.656 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.584e-05/0.2609, allocations: 33.64 kB / 0.721 GB, free: 7.617 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001557/0.261, allocations: 314.8 kB / 0.7213 GB, free: 7.301 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001095/0.2612, allocations: 65.61 kB / 0.7214 GB, free: 7.23 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001151/0.2613, allocations: 80.45 kB / 0.7214 GB, free: 7.137 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001324/0.2614, allocations: 84.2 kB / 0.7215 GB, free: 7.039 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.2614, allocations: 0 / 0.7215 GB, free: 7.039 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002953/0.2617, allocations: 188.9 kB / 0.7217 GB, free: 6.836 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.572e-05/0.2617, allocations: 37.7 kB / 0.7217 GB, free: 6.793 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.202e-05/0.2618, allocations: 48 / 0.7217 GB, free: 6.793 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.013e-05/0.2618, allocations: 7.984 kB / 0.7217 GB, free: 6.785 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.455e-05/0.2618, allocations: 7.922 kB / 0.7218 GB, free: 6.777 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.2618, allocations: 0 / 0.7218 GB, free: 6.777 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002091/0.2621, allocations: 27.97 kB / 0.7218 GB, free: 6.75 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.839e-05/0.2621, allocations: 4 kB / 0.7218 GB, free: 6.746 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 0.0001145/0.2622, allocations: 125.8 kB / 0.7219 GB, free: 6.613 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.219e-05/0.2622, allocations: 4 kB / 0.7219 GB, free: 6.609 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.93e-05/0.2622, allocations: 7.984 kB / 0.7219 GB, free: 6.598 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.2622, allocations: 3.938 kB / 0.7219 GB, free: 6.594 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.2622, allocations: 64 / 0.7219 GB, free: 6.594 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.723e-06/0.2622, allocations: 4 kB / 0.7219 GB, free: 6.59 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001454/0.2624, allocations: 136.7 kB / 0.7221 GB, free: 6.414 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.2624, allocations: 0 / 0.7221 GB, free: 6.414 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.69e-05/0.2624, allocations: 4 kB / 0.7221 GB, free: 6.41 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.2624, allocations: 0 / 0.7221 GB, free: 6.41 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.344e-06/0.2624, allocations: 4 kB / 0.7221 GB, free: 6.406 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.2624, allocations: 0 / 0.7221 GB, free: 6.406 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.2624, allocations: 0 / 0.7221 GB, free: 6.406 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001377/0.2626, allocations: 96.94 kB / 0.7222 GB, free: 6.293 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 6.783e-06/0.2626, allocations: 0 / 0.7222 GB, free: 6.293 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.478e-05/0.2626, allocations: 4 kB / 0.7222 GB, free: 6.289 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.751e-05/0.2626, allocations: 4 kB / 0.7222 GB, free: 6.285 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.275e-05/0.2626, allocations: 3.984 kB / 0.7222 GB, free: 6.281 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.183e-06/0.2626, allocations: 4 kB / 0.7222 GB, free: 6.277 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 6.965e-05/0.2627, allocations: 87.64 kB / 0.7222 GB, free: 6.191 MB / 0.6198 GB Notification: Performance of sort global known variables: time 8e-08/0.2627, allocations: 0 / 0.7222 GB, free: 6.191 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002125/0.2629, allocations: 24 kB / 0.7223 GB, free: 6.168 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.0005/0.2634, allocations: 0.6279 MB / 0.7229 GB, free: 5.512 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002633/0.2637, allocations: 137.1 kB / 0.723 GB, free: 5.359 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.608e-06/0.2637, allocations: 4 kB / 0.723 GB, free: 5.355 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 3.495e-05/0.2637, allocations: 11.94 kB / 0.723 GB, free: 5.344 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002114/0.2639, allocations: 17.81 kB / 0.723 GB, free: 5.328 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00188/0.2658, allocations: 1.521 MB / 0.7245 GB, free: 3.68 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.283e-05/0.2659, allocations: 63.34 kB / 0.7246 GB, free: 3.598 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.539e-05/0.2659, allocations: 4 kB / 0.7246 GB, free: 3.594 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.657e-05/0.2659, allocations: 16.44 kB / 0.7246 GB, free: 3.578 MB / 0.6198 GB Notification: Performance of SimCode: time 5.01e-07/0.2659, allocations: 4 kB / 0.7246 GB, free: 3.574 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0328/0.2987, allocations: 2.738 MB / 0.7273 GB, free: 0.9648 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.24/11.54, allocations: 13.14 kB / 0.7273 GB, free: 0.957 MB / 0.6198 GB " [Timeout remaining time 648] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Controls_OBC_CDL_Conversions_Validation_BooleanToReal_fmu --startTime=0 --stopTime=4 --stepSize=0.0016 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Controls_OBC_CDL_Conversions_Validation_BooleanToReal.fmu > IDEAS_IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.666096854009083] Failed to read output from testmodel.py, exit status != 0: 11.6480566609971 11.680645943 11.416068408 Calling exit ...