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.0009401/0.0009401, allocations: 92.22 kB / 19.65 MB, free: 280 kB / 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.0009243/0.0009243, allocations: 165 kB / 23.02 MB, free: 1.551 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.085/1.085, allocations: 177.1 MB / 203.4 MB, free: 5.25 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-545:108: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-545:116: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.7964/0.7964, allocations: 154.6 MB / 414.5 MB, free: 0.6289 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: translateModel(IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToReal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_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_IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToReal") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.216e-06/3.216e-06, allocations: 0 / 0.5203 GB, free: 2.188 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.963e-05/3.284e-05, allocations: 8.641 kB / 0.5203 GB, free: 2.184 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToReal): time 0.0018/0.001833, allocations: 0.5841 MB / 0.5209 GB, free: 1.617 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001564/0.003398, allocations: 1.167 MB / 0.522 GB, free: 448 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.919e-05/0.003457, allocations: 1.75 kB / 0.522 GB, free: 448 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 4.011e-05/0.003497, allocations: 3.938 kB / 0.522 GB, free: 444 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 8.697e-05/0.003584, allocations: 7.969 kB / 0.522 GB, free: 436 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006091/0.004193, allocations: 128.1 kB / 0.5221 GB, free: 308 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001898/0.004383, allocations: 88.89 kB / 0.5222 GB, free: 220 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000106/0.004489, allocations: 4 kB / 0.5222 GB, free: 216 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001231/0.004612, allocations: 53.27 kB / 0.5223 GB, free: 164 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001081/0.00472, allocations: 27.95 kB / 0.5223 GB, free: 136 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.601e-05/0.004746, allocations: 8 kB / 0.5223 GB, free: 128 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.357e-05/0.004809, allocations: 12 kB / 0.5223 GB, free: 116 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 2.648e-05/0.004836, allocations: 20.69 kB / 0.5223 GB, free: 96 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 5.047e-05/0.004886, allocations: 19.98 kB / 0.5224 GB, free: 76 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001832/0.00507, allocations: 81.08 kB / 0.5224 GB, free: 15.99 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.936e-06/0.005073, allocations: 0 / 0.5224 GB, free: 15.99 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.273e-06/0.005074, allocations: 0 / 0.5224 GB, free: 15.99 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.889e-06/0.005079, allocations: 0 / 0.5224 GB, free: 15.99 MB / 0.4948 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.000427/0.005506, allocations: 404.9 kB / 0.5228 GB, free: 15.56 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.658e-05/0.005542, allocations: 11.97 kB / 0.5228 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.983e-05/0.005592, allocations: 8.938 kB / 0.5229 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.596e-05/0.005678, allocations: 112.5 kB / 0.523 GB, free: 15.4 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.248e-05/0.005701, allocations: 8.375 kB / 0.523 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.949e-05/0.00572, allocations: 4.375 kB / 0.523 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.06e-05/0.005811, allocations: 50.89 kB / 0.523 GB, free: 15.33 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/0.005821, allocations: 4.688 kB / 0.523 GB, free: 15.33 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.017e-05/0.005832, allocations: 5.766 kB / 0.523 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.604e-06/0.005839, allocations: 384 / 0.523 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.353e-05/0.005863, allocations: 7.938 kB / 0.523 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003149/0.006178, allocations: 279.8 kB / 0.5233 GB, free: 15.01 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 5.846e-05/0.006236, allocations: 35.95 kB / 0.5233 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.771e-05/0.006254, allocations: 7.688 kB / 0.5233 GB, free: 14.95 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 6.362e-06/0.00626, allocations: 5.031 kB / 0.5234 GB, free: 14.95 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.897e-05/0.006349, allocations: 73.03 kB / 0.5234 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=4): time 1.152e-06/0.00635, allocations: 0.9375 kB / 0.5234 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of matching and sorting (n=4): time 0.0001635/0.006514, allocations: 69.52 kB / 0.5235 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.086e-05/0.006545, allocations: 56.33 kB / 0.5235 GB, free: 14.72 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.872e-05/0.006623, allocations: 165.9 kB / 0.5237 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002902/0.006914, allocations: 33.7 kB / 0.5237 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.527e-05/0.006959, allocations: 131.5 kB / 0.5239 GB, free: 14.37 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.38e-05/0.006973, allocations: 4.641 kB / 0.5239 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.428e-05/0.007017, allocations: 39.36 kB / 0.5239 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001018/0.007119, allocations: 497.3 kB / 0.5244 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.097e-05/0.00719, allocations: 57.69 kB / 0.5244 GB, free: 13.76 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.469e-05/0.007254, allocations: 85.05 kB / 0.5245 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.592e-05/0.00733, allocations: 87.14 kB / 0.5246 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.007333, allocations: 0 / 0.5246 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001769/0.007509, allocations: 180.9 kB / 0.5248 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.942e-05/0.007539, allocations: 33.64 kB / 0.5248 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.007544, allocations: 5.703 kB / 0.5248 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.655e-05/0.00756, allocations: 3.984 kB / 0.5248 GB, free: 13.31 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.19e-05/0.007612, allocations: 4 kB / 0.5248 GB, free: 13.31 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.212e-06/0.007618, allocations: 3.984 kB / 0.5248 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001172/0.007735, allocations: 21.73 kB / 0.5248 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.212e-05/0.007748, allocations: 7.938 kB / 0.5248 GB, free: 13.28 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 7.46e-05/0.007822, allocations: 164.6 kB / 0.525 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.163e-05/0.007834, allocations: 6.172 kB / 0.525 GB, free: 13.1 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.869e-05/0.007863, allocations: 19.88 kB / 0.525 GB, free: 13.08 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.007865, allocations: 0 / 0.525 GB, free: 13.08 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.007869, allocations: 0 / 0.525 GB, free: 13.08 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.007872, allocations: 240 / 0.525 GB, free: 13.08 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.935e-05/0.007951, allocations: 120.6 kB / 0.5251 GB, free: 12.93 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.532e-06/0.007953, allocations: 2.75 kB / 0.5251 GB, free: 12.93 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.316e-05/0.007966, allocations: 0 / 0.5251 GB, free: 12.93 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.007969, allocations: 3.984 kB / 0.5251 GB, free: 12.93 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.594e-06/0.007976, allocations: 4 kB / 0.5251 GB, free: 12.92 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.007978, allocations: 3.938 kB / 0.5252 GB, free: 12.92 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.007981, allocations: 4.047 kB / 0.5252 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.515e-05/0.008076, allocations: 92.44 kB / 0.5252 GB, free: 12.8 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 8.576e-06/0.008084, allocations: 7.953 kB / 0.5253 GB, free: 12.79 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.014e-05/0.008094, allocations: 1.438 kB / 0.5253 GB, free: 12.79 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.533e-05/0.00811, allocations: 3.938 kB / 0.5253 GB, free: 12.79 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.667e-05/0.008136, allocations: 3.984 kB / 0.5253 GB, free: 12.79 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.678e-06/0.008141, allocations: 7.938 kB / 0.5253 GB, free: 12.78 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.639e-05/0.008177, allocations: 128 kB / 0.5254 GB, free: 12.65 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.008178, allocations: 0 / 0.5254 GB, free: 12.65 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001515/0.008329, allocations: 25.98 kB / 0.5254 GB, free: 12.63 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.0001211/0.00845, allocations: 95.25 kB / 0.5255 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001736/0.008624, allocations: 144.8 kB / 0.5256 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.008626, allocations: 0.625 kB / 0.5256 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 2.9e-05/0.008655, allocations: 27.61 kB / 0.5257 GB, free: 12.33 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001658/0.008821, allocations: 9.328 kB / 0.5257 GB, free: 12.32 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002731/0.009094, allocations: 131 kB / 0.5258 GB, free: 12.16 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.033e-05/0.009124, allocations: 59.34 kB / 0.5259 GB, free: 12.09 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.984e-05/0.009144, allocations: 6.656 kB / 0.5259 GB, free: 12.08 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.784e-05/0.009162, allocations: 8.5 kB / 0.5259 GB, free: 12.07 MB / 0.4948 GB Notification: Performance of SimCode: time 7.51e-07/0.009162, allocations: 0 / 0.5259 GB, free: 12.07 MB / 0.4948 GB Notification: Performance of Templates: time 0.00302/0.01218, allocations: 1.182 MB / 0.527 GB, free: 10.96 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.makefile [Timeout 660] (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 & ./IDEAS_IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToReal -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.950687751173973]