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.0008218/0.0008218, 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.0008539/0.0008539, allocations: 169.9 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.884/0.884, allocations: 177.1 MB / 202.8 MB, free: 5.742 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.7467/0.7467, allocations: 154.6 MB / 413.7 MB, free: 0.8047 MB / 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: Performance of FrontEnd - loaded program: time 2.014e-06/2.014e-06, allocations: 0 / 0.618 GB, free: 13.75 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.511e-05/1.712e-05, allocations: 2.781 kB / 0.618 GB, free: 13.75 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToReal): time 0.001395/0.001412, allocations: 0.5931 MB / 0.6186 GB, free: 13.16 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001143/0.002554, allocations: 1.135 MB / 0.6197 GB, free: 12.01 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.038e-05/0.002595, allocations: 4 kB / 0.6197 GB, free: 12 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.921e-05/0.002624, allocations: 0 / 0.6197 GB, free: 12 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 6.906e-05/0.002693, allocations: 19.86 kB / 0.6197 GB, free: 11.98 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004125/0.003106, allocations: 119 kB / 0.6198 GB, free: 11.87 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.000129/0.003235, allocations: 87.83 kB / 0.6199 GB, free: 11.79 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 9.649e-05/0.003331, allocations: 4 kB / 0.6199 GB, free: 11.78 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 8.459e-05/0.003416, allocations: 51.94 kB / 0.62 GB, free: 11.73 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 8.305e-05/0.003499, allocations: 23.97 kB / 0.62 GB, free: 11.71 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.001e-05/0.003519, allocations: 8 kB / 0.62 GB, free: 11.7 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 5.566e-05/0.003574, allocations: 23.92 kB / 0.62 GB, free: 11.68 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 2.146e-05/0.003596, allocations: 15.92 kB / 0.62 GB, free: 11.66 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 4.16e-05/0.003637, allocations: 19.98 kB / 0.6201 GB, free: 11.64 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001341/0.003772, allocations: 95.83 kB / 0.6202 GB, free: 11.55 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.305e-06/0.003774, allocations: 0 / 0.6202 GB, free: 11.55 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.704e-06/0.003776, allocations: 7.922 kB / 0.6202 GB, free: 11.54 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.679e-06/0.00378, allocations: 0 / 0.6202 GB, free: 11.54 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.0003771/0.004157, allocations: 303.9 kB / 0.6205 GB, free: 11.2 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.891e-05/0.004196, allocations: 13.47 kB / 0.6205 GB, free: 11.19 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.464e-05/0.004221, allocations: 30.75 kB / 0.6205 GB, free: 11.15 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.164e-05/0.004253, allocations: 8.938 kB / 0.6205 GB, free: 11.14 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.385e-05/0.004326, allocations: 113.7 kB / 0.6206 GB, free: 11.01 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.702e-05/0.004343, allocations: 4.375 kB / 0.6206 GB, free: 11 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.416e-05/0.004358, allocations: 8.375 kB / 0.6206 GB, free: 11 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.676e-05/0.004434, allocations: 34.25 kB / 0.6207 GB, free: 10.96 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.582e-06/0.004441, allocations: 192 / 0.6207 GB, free: 10.96 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.087e-06/0.00445, allocations: 4.375 kB / 0.6207 GB, free: 10.95 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-06/0.004457, allocations: 8.109 kB / 0.6207 GB, free: 10.95 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.294e-05/0.004489, allocations: 8 kB / 0.6207 GB, free: 10.94 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003073/0.004797, allocations: 248 kB / 0.6209 GB, free: 10.65 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 5.181e-05/0.004849, allocations: 30.5 kB / 0.6209 GB, free: 10.61 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.804e-05/0.004867, allocations: 12.92 kB / 0.621 GB, free: 10.6 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 8.306e-06/0.004875, allocations: 0 / 0.621 GB, free: 10.6 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001102/0.004985, allocations: 67.33 kB / 0.621 GB, free: 10.52 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=4): time 9.51e-07/0.004986, allocations: 0 / 0.621 GB, free: 10.52 MB / 0.5886 GB Notification: Performance of matching and sorting (n=4): time 0.0001602/0.005146, allocations: 77.58 kB / 0.6211 GB, free: 10.44 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.321e-05/0.005179, allocations: 59.33 kB / 0.6212 GB, free: 10.37 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.253e-05/0.005242, allocations: 105.9 kB / 0.6213 GB, free: 10.25 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.713e-05/0.005259, allocations: 29.69 kB / 0.6213 GB, free: 10.22 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.141e-05/0.0053, allocations: 88.14 kB / 0.6214 GB, free: 10.13 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.049e-05/0.005311, allocations: 3.953 kB / 0.6214 GB, free: 10.12 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.318e-05/0.005354, allocations: 33.7 kB / 0.6214 GB, free: 10.09 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.282e-05/0.005427, allocations: 318.8 kB / 0.6217 GB, free: 9.766 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.006e-05/0.005497, allocations: 61.67 kB / 0.6218 GB, free: 9.699 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.308e-05/0.00556, allocations: 76.27 kB / 0.6218 GB, free: 9.609 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.937e-05/0.005639, allocations: 88.2 kB / 0.6219 GB, free: 9.508 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.005642, allocations: 0 / 0.6219 GB, free: 9.508 MB / 0.5886 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001882/0.00583, allocations: 188.9 kB / 0.6221 GB, free: 9.305 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 3.297e-05/0.005863, allocations: 37.7 kB / 0.6221 GB, free: 9.262 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.005868, allocations: 8 kB / 0.6221 GB, free: 9.254 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.197e-05/0.00588, allocations: 0 / 0.6221 GB, free: 9.254 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.555e-05/0.005936, allocations: 7.984 kB / 0.6222 GB, free: 9.246 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.528e-06/0.00594, allocations: 0 / 0.6222 GB, free: 9.246 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001255/0.006066, allocations: 27.91 kB / 0.6222 GB, free: 9.219 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.494e-05/0.006081, allocations: 4.062 kB / 0.6222 GB, free: 9.215 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 7.384e-05/0.006155, allocations: 122.8 kB / 0.6223 GB, free: 9.086 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.468e-06/0.006164, allocations: 11.89 kB / 0.6223 GB, free: 9.074 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.631e-05/0.00619, allocations: 15.98 kB / 0.6223 GB, free: 9.051 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.945e-06/0.006193, allocations: 0 / 0.6223 GB, free: 9.051 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.062e-06/0.006199, allocations: 240 / 0.6223 GB, free: 9.051 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.006203, allocations: 0 / 0.6223 GB, free: 9.051 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.574e-05/0.006289, allocations: 132.8 kB / 0.6225 GB, free: 8.879 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-06/0.00629, allocations: 3.984 kB / 0.6225 GB, free: 8.875 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.839e-06/0.0063, allocations: 3.938 kB / 0.6225 GB, free: 8.871 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.006302, allocations: 4 kB / 0.6225 GB, free: 8.867 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.471e-06/0.006307, allocations: 0 / 0.6225 GB, free: 8.867 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.01e-07/0.006308, allocations: 0 / 0.6225 GB, free: 8.867 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.694e-06/0.00631, allocations: 400 / 0.6225 GB, free: 8.867 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.289e-05/0.006393, allocations: 89.11 kB / 0.6225 GB, free: 8.762 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 7.444e-06/0.0064, allocations: 7.891 kB / 0.6226 GB, free: 8.754 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.009e-05/0.00641, allocations: 0 / 0.6226 GB, free: 8.754 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.476e-06/0.006419, allocations: 3.938 kB / 0.6226 GB, free: 8.75 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.619e-05/0.006445, allocations: 7.984 kB / 0.6226 GB, free: 8.742 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.678e-06/0.006449, allocations: 4 kB / 0.6226 GB, free: 8.738 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.377e-05/0.006483, allocations: 91.25 kB / 0.6227 GB, free: 8.648 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5.1e-08/0.006483, allocations: 0 / 0.6227 GB, free: 8.648 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001412/0.006625, allocations: 16 kB / 0.6227 GB, free: 8.633 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.0002871/0.006912, allocations: 0.6203 MB / 0.6233 GB, free: 7.98 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001735/0.007085, allocations: 152.9 kB / 0.6234 GB, free: 7.812 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.007087, allocations: 0 / 0.6234 GB, free: 7.812 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 2.179e-05/0.007108, allocations: 12 kB / 0.6234 GB, free: 7.801 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001568/0.007265, allocations: 10.17 kB / 0.6234 GB, free: 7.793 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001009/0.008274, allocations: 1.517 MB / 0.6249 GB, free: 6.152 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.745e-05/0.008312, allocations: 63.34 kB / 0.625 GB, free: 6.07 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 1.91e-05/0.008331, allocations: 4.125 kB / 0.625 GB, free: 6.066 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.019e-05/0.008361, allocations: 16.5 kB / 0.625 GB, free: 6.051 MB / 0.5886 GB Notification: Performance of SimCode: time 4.71e-07/0.008362, allocations: 0 / 0.625 GB, free: 6.051 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01716/0.02552, allocations: 2.756 MB / 0.6277 GB, free: 3.473 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.749/6.775, allocations: 12.38 kB / 0.6277 GB, free: 3.469 MB / 0.5886 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.518791172653437] Failed to read output from testmodel.py, exit status != 0: 6.857677010819316 6.870069176 6.864192228 Calling exit ...