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.000987/0.000987, allocations: 92.2 kB / 20.19 MB, free: 4.352 MB / 18.57 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.00109/0.00109, allocations: 169 kB / 23.49 MB, free: 1.055 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 1.049/1.049, allocations: 177.1 MB / 203.8 MB, free: 5.641 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-535:34: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-535:42: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.7658/0.7658, allocations: 154.8 MB / 415.1 MB, free: 500 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: translateModel(IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToReal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToReal") translateModel(IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToReal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToReal") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.845e-06/2.845e-06, allocations: 0 / 0.5205 GB, free: 2.285 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.232e-05/3.517e-05, allocations: 2.312 kB / 0.5205 GB, free: 2.281 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToReal): time 0.001526/0.001561, allocations: 0.6037 MB / 0.5211 GB, free: 1.703 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001342/0.002903, allocations: 1.161 MB / 0.5223 GB, free: 0.5312 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.331e-05/0.002956, allocations: 0 / 0.5223 GB, free: 0.5312 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.01e-05/0.002986, allocations: 3.938 kB / 0.5223 GB, free: 0.5273 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 7.798e-05/0.003064, allocations: 8.688 kB / 0.5223 GB, free: 0.5195 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005019/0.003566, allocations: 124.9 kB / 0.5224 GB, free: 408 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001555/0.003722, allocations: 91.83 kB / 0.5225 GB, free: 316 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001006/0.003822, allocations: 1.25 kB / 0.5225 GB, free: 316 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.881e-05/0.003921, allocations: 51.94 kB / 0.5225 GB, free: 264 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.256e-05/0.004014, allocations: 23.97 kB / 0.5226 GB, free: 240 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.335e-05/0.004037, allocations: 10.19 kB / 0.5226 GB, free: 232 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.498e-05/0.004102, allocations: 19.98 kB / 0.5226 GB, free: 212 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 2.321e-05/0.004125, allocations: 11.88 kB / 0.5226 GB, free: 200 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 5.675e-05/0.004182, allocations: 27.97 kB / 0.5226 GB, free: 172 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001721/0.004354, allocations: 75.83 kB / 0.5227 GB, free: 96 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.004358, allocations: 0 / 0.5227 GB, free: 96 kB / 490.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.00436, allocations: 1.812 kB / 0.5227 GB, free: 96 kB / 490.7 MB Notification: Performance of Transformations before backend: time 6.222e-06/0.004366, allocations: 3.938 kB / 0.5227 GB, free: 92 kB / 490.7 MB 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.0004813/0.004847, allocations: 402.3 kB / 0.5231 GB, free: 15.65 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.786e-05/0.004895, allocations: 8.031 kB / 0.5231 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.138e-05/0.004956, allocations: 4.938 kB / 0.5231 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001045/0.005061, allocations: 121.1 kB / 0.5232 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.343e-05/0.005084, allocations: 5.281 kB / 0.5232 GB, free: 15.49 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.731e-05/0.005102, allocations: 8.375 kB / 0.5232 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001039/0.005206, allocations: 50.89 kB / 0.5233 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.793e-06/0.005212, allocations: 1.188 kB / 0.5233 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.155e-05/0.005224, allocations: 384 / 0.5233 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.065e-05/0.005235, allocations: 5.25 kB / 0.5233 GB, free: 15.42 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.275e-05/0.005267, allocations: 3.938 kB / 0.5233 GB, free: 15.42 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003973/0.005665, allocations: 279.8 kB / 0.5236 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 6.787e-05/0.005732, allocations: 40.03 kB / 0.5236 GB, free: 15.06 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.941e-05/0.005752, allocations: 7.688 kB / 0.5236 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 9.077e-06/0.005761, allocations: 5.453 kB / 0.5236 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001144/0.005875, allocations: 65.11 kB / 0.5237 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=4): time 1.854e-06/0.005877, allocations: 0 / 0.5237 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of matching and sorting (n=4): time 0.0002034/0.006081, allocations: 78.66 kB / 0.5237 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.342e-05/0.006124, allocations: 51.41 kB / 0.5238 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.914e-05/0.006223, allocations: 165.9 kB / 0.524 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.115e-05/0.006244, allocations: 30.39 kB / 0.524 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 7.158e-05/0.006316, allocations: 130.9 kB / 0.5241 GB, free: 14.47 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.971e-05/0.006336, allocations: 13.22 kB / 0.5241 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.629e-05/0.006392, allocations: 43.34 kB / 0.5242 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000127/0.006519, allocations: 492.1 kB / 0.5246 GB, free: 13.92 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.259e-05/0.006592, allocations: 53.69 kB / 0.5247 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.21e-05/0.006664, allocations: 85.77 kB / 0.5248 GB, free: 13.76 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.681e-05/0.00675, allocations: 93.25 kB / 0.5249 GB, free: 13.65 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.006753, allocations: 0.8438 kB / 0.5249 GB, free: 13.65 MB / 0.4948 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001973/0.006951, allocations: 181.8 kB / 0.525 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.847e-05/0.006989, allocations: 37.62 kB / 0.5251 GB, free: 13.41 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.006995, allocations: 2.469 kB / 0.5251 GB, free: 13.41 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/0.007008, allocations: 4 kB / 0.5251 GB, free: 13.41 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.771e-05/0.007066, allocations: 3.938 kB / 0.5251 GB, free: 13.4 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/0.007074, allocations: 4.391 kB / 0.5251 GB, free: 13.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001263/0.0072, allocations: 19.97 kB / 0.5251 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.222e-05/0.007222, allocations: 8 kB / 0.5251 GB, free: 13.37 MB / 0.4948 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 8.85e-05/0.007311, allocations: 161.3 kB / 0.5253 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.282e-05/0.007324, allocations: 13.14 kB / 0.5253 GB, free: 13.19 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.004e-05/0.007354, allocations: 11.94 kB / 0.5253 GB, free: 13.18 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.082e-06/0.00736, allocations: 7.984 kB / 0.5253 GB, free: 13.17 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.007365, allocations: 1.5 kB / 0.5253 GB, free: 13.17 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.007369, allocations: 0 / 0.5253 GB, free: 13.17 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.442e-05/0.007463, allocations: 116.6 kB / 0.5254 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.007465, allocations: 0 / 0.5254 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.562e-05/0.00748, allocations: 4 kB / 0.5254 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.007483, allocations: 0.5 kB / 0.5254 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.003e-06/0.00749, allocations: 0.9062 kB / 0.5254 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.457e-06/0.007493, allocations: 3.938 kB / 0.5254 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.007495, allocations: 4.781 kB / 0.5254 GB, free: 13.01 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001021/0.007597, allocations: 84.44 kB / 0.5255 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.034e-05/0.007607, allocations: 12.56 kB / 0.5255 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.188e-05/0.007619, allocations: 4 kB / 0.5255 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.333e-05/0.007632, allocations: 4.438 kB / 0.5255 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.276e-05/0.007665, allocations: 7 kB / 0.5255 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.518e-06/0.007674, allocations: 4 kB / 0.5255 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.572e-05/0.00772, allocations: 127.2 kB / 0.5256 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.00772, allocations: 0 / 0.5256 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001537/0.007874, allocations: 23.94 kB / 0.5257 GB, free: 12.73 MB / 0.4948 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.0001521/0.008026, allocations: 99.23 kB / 0.5258 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002097/0.008236, allocations: 139.2 kB / 0.5259 GB, free: 12.46 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/0.008239, allocations: 4 kB / 0.5259 GB, free: 12.46 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 2.979e-05/0.008269, allocations: 23.61 kB / 0.5259 GB, free: 12.43 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001896/0.008458, allocations: 13.72 kB / 0.5259 GB, free: 12.42 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003141/0.008772, allocations: 134.6 kB / 0.5261 GB, free: 12.26 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.279e-05/0.008815, allocations: 56.7 kB / 0.5261 GB, free: 12.19 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.52e-05/0.00884, allocations: 4 kB / 0.5261 GB, free: 12.18 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.341e-05/0.008864, allocations: 12.48 kB / 0.5261 GB, free: 12.17 MB / 0.4948 GB Notification: Performance of SimCode: time 1.082e-06/0.008865, allocations: 4.844 kB / 0.5261 GB, free: 12.17 MB / 0.4948 GB Notification: Performance of Templates: time 0.003438/0.0123, allocations: 1.177 MB / 0.5273 GB, free: 11.06 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.makefile [Timeout 660] (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 & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToReal -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.932600730797276]