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.0007893/0.0007893, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0008014/0.0008014, allocations: 170.3 kB / 22.46 MB, free: 2.105 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.8739/0.8739, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] 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 0.6856/0.6856, allocations: 154.6 MB / 413.8 MB, free: 0.7891 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: Performance of FrontEnd - loaded program: time 2.164e-06/2.164e-06, allocations: 0 / 0.6181 GB, free: 13.68 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.481e-05/1.697e-05, allocations: 4.875 kB / 0.6181 GB, free: 13.68 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToReal): time 0.001134/0.001151, allocations: 0.5956 MB / 0.6187 GB, free: 13.08 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001062/0.002213, allocations: 1.135 MB / 0.6198 GB, free: 11.93 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.354e-05/0.002256, allocations: 0 / 0.6198 GB, free: 11.93 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.487e-05/0.002281, allocations: 0 / 0.6198 GB, free: 11.93 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 6.393e-05/0.002345, allocations: 11.86 kB / 0.6198 GB, free: 11.92 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003685/0.002714, allocations: 126.7 kB / 0.6199 GB, free: 11.8 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.00013/0.002844, allocations: 91.83 kB / 0.62 GB, free: 11.71 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 7.917e-05/0.002923, allocations: 7.984 kB / 0.62 GB, free: 11.71 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 7.695e-05/0.003, allocations: 43.97 kB / 0.62 GB, free: 11.66 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 8.222e-05/0.003082, allocations: 31.89 kB / 0.6201 GB, free: 11.63 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.882e-05/0.003101, allocations: 12 kB / 0.6201 GB, free: 11.62 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 5.15e-05/0.003152, allocations: 23.97 kB / 0.6201 GB, free: 11.6 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 2.151e-05/0.003174, allocations: 4 kB / 0.6201 GB, free: 11.59 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 4.628e-05/0.00322, allocations: 19.98 kB / 0.6201 GB, free: 11.57 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001371/0.003357, allocations: 103.7 kB / 0.6202 GB, free: 11.47 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.362e-06/0.003358, allocations: 0 / 0.6202 GB, free: 11.47 MB / 0.5886 GB Notification: Performance of FrontEnd: time 8.12e-07/0.003359, allocations: 0 / 0.6202 GB, free: 11.47 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.318e-06/0.003363, allocations: 0 / 0.6202 GB, free: 11.47 MB / 0.5886 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.0003441/0.003708, allocations: 300 kB / 0.6205 GB, free: 11.14 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.711e-05/0.003745, allocations: 8.031 kB / 0.6205 GB, free: 11.13 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.542e-05/0.00377, allocations: 42.73 kB / 0.6206 GB, free: 11.08 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.312e-05/0.003803, allocations: 4.938 kB / 0.6206 GB, free: 11.08 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.528e-05/0.003879, allocations: 121.6 kB / 0.6207 GB, free: 10.93 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.712e-05/0.003896, allocations: 4.375 kB / 0.6207 GB, free: 10.93 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.415e-05/0.00391, allocations: 4.375 kB / 0.6207 GB, free: 10.93 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.653e-05/0.003986, allocations: 42.25 kB / 0.6207 GB, free: 10.88 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.493e-06/0.003993, allocations: 192 / 0.6207 GB, free: 10.88 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.073e-06/0.004, allocations: 384 / 0.6207 GB, free: 10.88 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/0.004005, allocations: 4.125 kB / 0.6207 GB, free: 10.88 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.202e-05/0.004037, allocations: 7.984 kB / 0.6207 GB, free: 10.87 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003038/0.004341, allocations: 244 kB / 0.621 GB, free: 10.59 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 5.202e-05/0.004393, allocations: 38.5 kB / 0.621 GB, free: 10.54 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.64e-05/0.004409, allocations: 8.922 kB / 0.621 GB, free: 10.53 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 8.326e-06/0.004418, allocations: 0 / 0.621 GB, free: 10.53 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001001/0.004518, allocations: 67.33 kB / 0.6211 GB, free: 10.45 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=4): time 9.62e-07/0.004519, allocations: 0 / 0.6211 GB, free: 10.45 MB / 0.5886 GB Notification: Performance of matching and sorting (n=4): time 0.0001552/0.004674, allocations: 77.58 kB / 0.6212 GB, free: 10.37 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.143e-05/0.004705, allocations: 51.41 kB / 0.6212 GB, free: 10.3 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.483e-05/0.00476, allocations: 105.8 kB / 0.6213 GB, free: 10.19 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.766e-05/0.004778, allocations: 29.7 kB / 0.6213 GB, free: 10.16 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.609e-05/0.004814, allocations: 92.02 kB / 0.6214 GB, free: 10.06 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.132e-05/0.004825, allocations: 15.94 kB / 0.6214 GB, free: 10.05 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.152e-05/0.004867, allocations: 33.7 kB / 0.6215 GB, free: 10.01 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.013e-05/0.004937, allocations: 310.8 kB / 0.6218 GB, free: 9.695 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.53e-05/0.005002, allocations: 65.67 kB / 0.6218 GB, free: 9.625 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.288e-05/0.005065, allocations: 76.27 kB / 0.6219 GB, free: 9.535 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.081e-05/0.005146, allocations: 84.2 kB / 0.622 GB, free: 9.438 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.005148, allocations: 4 kB / 0.622 GB, free: 9.434 MB / 0.5886 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001683/0.005316, allocations: 192.9 kB / 0.6222 GB, free: 9.227 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.527e-05/0.005341, allocations: 37.77 kB / 0.6222 GB, free: 9.184 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.005346, allocations: 4 kB / 0.6222 GB, free: 9.18 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.204e-05/0.005358, allocations: 240 / 0.6222 GB, free: 9.18 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.559e-05/0.005404, allocations: 4 kB / 0.6222 GB, free: 9.176 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.428e-06/0.005408, allocations: 0 / 0.6222 GB, free: 9.176 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001112/0.005519, allocations: 23.97 kB / 0.6222 GB, free: 9.152 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.392e-05/0.005533, allocations: 7.984 kB / 0.6222 GB, free: 9.145 MB / 0.5886 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 5.852e-05/0.005592, allocations: 118.8 kB / 0.6224 GB, free: 9.02 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.395e-06/0.0056, allocations: 19.88 kB / 0.6224 GB, free: 9 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.905e-05/0.005619, allocations: 8 kB / 0.6224 GB, free: 8.988 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.764e-06/0.005621, allocations: 0 / 0.6224 GB, free: 8.988 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.005625, allocations: 0 / 0.6224 GB, free: 8.988 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/0.005629, allocations: 7.984 kB / 0.6224 GB, free: 8.98 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.174e-05/0.005701, allocations: 132.7 kB / 0.6225 GB, free: 8.809 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.005703, allocations: 4 kB / 0.6225 GB, free: 8.805 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.605e-06/0.00571, allocations: 3.938 kB / 0.6225 GB, free: 8.801 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.005712, allocations: 0 / 0.6225 GB, free: 8.801 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.192e-06/0.005718, allocations: 0 / 0.6225 GB, free: 8.801 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.00572, allocations: 4 kB / 0.6225 GB, free: 8.797 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.005721, allocations: 4 kB / 0.6225 GB, free: 8.793 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003478/0.006069, allocations: 77.12 kB / 0.6226 GB, free: 8.699 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 9.377e-06/0.006078, allocations: 15.88 kB / 0.6226 GB, free: 8.684 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.936e-06/0.006087, allocations: 0 / 0.6226 GB, free: 8.684 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.979e-06/0.006097, allocations: 4 kB / 0.6226 GB, free: 8.68 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.211e-05/0.006119, allocations: 3.938 kB / 0.6226 GB, free: 8.676 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.717e-06/0.006123, allocations: 4 kB / 0.6226 GB, free: 8.672 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.938e-05/0.006152, allocations: 87.27 kB / 0.6227 GB, free: 8.586 MB / 0.5886 GB Notification: Performance of sort global known variables: time 6e-08/0.006152, allocations: 3.938 kB / 0.6227 GB, free: 8.582 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001332/0.006286, allocations: 16 kB / 0.6227 GB, free: 8.566 MB / 0.5886 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.0002515/0.006537, allocations: 0.6203 MB / 0.6233 GB, free: 7.914 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001602/0.006697, allocations: 145 kB / 0.6235 GB, free: 7.754 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.232e-06/0.006699, allocations: 0 / 0.6235 GB, free: 7.754 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 1.922e-05/0.006718, allocations: 12 kB / 0.6235 GB, free: 7.742 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000146/0.006864, allocations: 17.98 kB / 0.6235 GB, free: 7.727 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009587/0.007823, allocations: 1.505 MB / 0.625 GB, free: 6.094 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.989e-05/0.007862, allocations: 75.45 kB / 0.625 GB, free: 6 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 1.896e-05/0.007881, allocations: 4 kB / 0.6251 GB, free: 5.996 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.703e-05/0.007908, allocations: 12.5 kB / 0.6251 GB, free: 5.984 MB / 0.5886 GB Notification: Performance of SimCode: time 4.9e-07/0.007909, allocations: 0 / 0.6251 GB, free: 5.984 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01408/0.02199, allocations: 2.759 MB / 0.6278 GB, free: 3.402 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.535/6.557, allocations: 4.062 kB / 0.6278 GB, free: 3.398 MB / 0.5886 GB " [Timeout remaining time 653] (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: 9.13240331504494] Failed to read output from testmodel.py, exit status != 0: 6.636758311651647 6.646406997 6.640808463 Calling exit ...