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.0007343/0.0007343, allocations: 76.5 kB / 19.93 MB, free: 4.633 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.0008003/0.0008003, allocations: 173.9 kB / 23.21 MB, free: 1.352 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.8241/0.8241, allocations: 177.1 MB / 203.5 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.6522/0.6522, allocations: 154.5 MB / 414.5 MB, free: 0.8555 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: 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.595e-06/2.595e-06, allocations: 0 / 0.6192 GB, free: 13.34 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.902e-05/3.161e-05, allocations: 5.453 kB / 0.6192 GB, free: 13.33 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToReal): time 0.001185/0.001217, allocations: 0.5932 MB / 0.6198 GB, free: 12.74 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.000989/0.002206, allocations: 1.131 MB / 0.6209 GB, free: 11.59 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.662e-05/0.002242, allocations: 7.938 kB / 0.6209 GB, free: 11.59 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.561e-05/0.002268, allocations: 3.938 kB / 0.6209 GB, free: 11.58 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 5.46e-05/0.002323, allocations: 4 kB / 0.6209 GB, free: 11.58 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003586/0.002681, allocations: 123 kB / 0.6211 GB, free: 11.46 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001222/0.002803, allocations: 91.81 kB / 0.6212 GB, free: 11.37 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 7.831e-05/0.002882, allocations: 8 kB / 0.6212 GB, free: 11.36 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 7.595e-05/0.002958, allocations: 51.89 kB / 0.6212 GB, free: 11.31 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 7.551e-05/0.003033, allocations: 27.95 kB / 0.6212 GB, free: 11.29 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.79e-05/0.003051, allocations: 8 kB / 0.6212 GB, free: 11.28 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 4.918e-05/0.0031, allocations: 19.98 kB / 0.6213 GB, free: 11.26 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.72e-05/0.003118, allocations: 4 kB / 0.6213 GB, free: 11.25 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 3.949e-05/0.003157, allocations: 27.92 kB / 0.6213 GB, free: 11.23 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.000145/0.003302, allocations: 103.8 kB / 0.6214 GB, free: 11.12 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.003305, allocations: 0 / 0.6214 GB, free: 11.12 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.222e-06/0.003306, allocations: 0 / 0.6214 GB, free: 11.12 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.659e-06/0.003311, allocations: 0 / 0.6214 GB, free: 11.12 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.0003586/0.003669, allocations: 311.9 kB / 0.6217 GB, free: 10.78 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.664e-05/0.003706, allocations: 9.469 kB / 0.6217 GB, free: 10.77 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.363e-05/0.003749, allocations: 4.938 kB / 0.6217 GB, free: 10.77 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.531e-05/0.003825, allocations: 109.8 kB / 0.6218 GB, free: 10.64 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.808e-05/0.003843, allocations: 4.375 kB / 0.6218 GB, free: 10.63 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.337e-05/0.003856, allocations: 4.375 kB / 0.6218 GB, free: 10.63 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.604e-05/0.003932, allocations: 38.25 kB / 0.6219 GB, free: 10.59 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.053e-06/0.003939, allocations: 192 / 0.6219 GB, free: 10.59 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.907e-06/0.003948, allocations: 384 / 0.6219 GB, free: 10.59 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.003953, allocations: 4.375 kB / 0.6219 GB, free: 10.58 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.661e-05/0.00399, allocations: 23.86 kB / 0.6219 GB, free: 10.56 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005211/0.004511, allocations: 224.5 kB / 0.6221 GB, free: 10.31 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 5.198e-05/0.004563, allocations: 22.58 kB / 0.6221 GB, free: 10.28 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.762e-05/0.00458, allocations: 12.91 kB / 0.6221 GB, free: 10.26 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 9.227e-06/0.00459, allocations: 0 / 0.6221 GB, free: 10.26 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001313/0.004721, allocations: 71.27 kB / 0.6222 GB, free: 10.18 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=4): time 8.22e-07/0.004722, allocations: 0 / 0.6222 GB, free: 10.18 MB / 0.5886 GB Notification: Performance of matching and sorting (n=4): time 0.0001632/0.004885, allocations: 73.58 kB / 0.6223 GB, free: 10.1 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.02e-05/0.004915, allocations: 51.41 kB / 0.6223 GB, free: 10.04 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.772e-05/0.004973, allocations: 109.8 kB / 0.6224 GB, free: 9.922 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.562e-05/0.004988, allocations: 33.7 kB / 0.6225 GB, free: 9.883 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.636e-05/0.005025, allocations: 84.14 kB / 0.6225 GB, free: 9.797 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.546e-05/0.00504, allocations: 15.88 kB / 0.6225 GB, free: 9.781 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.343e-05/0.005084, allocations: 37.69 kB / 0.6226 GB, free: 9.738 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.613e-05/0.00516, allocations: 314.8 kB / 0.6229 GB, free: 9.422 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.677e-05/0.005227, allocations: 57.69 kB / 0.6229 GB, free: 9.359 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.435e-05/0.005291, allocations: 88.19 kB / 0.623 GB, free: 9.258 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.429e-05/0.005365, allocations: 84.27 kB / 0.6231 GB, free: 9.16 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.005367, allocations: 0 / 0.6231 GB, free: 9.16 MB / 0.5886 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001731/0.00554, allocations: 189 kB / 0.6233 GB, free: 8.957 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 3.12e-05/0.005571, allocations: 41.62 kB / 0.6233 GB, free: 8.91 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.005576, allocations: 0 / 0.6233 GB, free: 8.91 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.156e-05/0.005588, allocations: 0 / 0.6233 GB, free: 8.91 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.631e-05/0.005644, allocations: 7.938 kB / 0.6233 GB, free: 8.902 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.999e-06/0.005649, allocations: 0 / 0.6233 GB, free: 8.902 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001221/0.005771, allocations: 23.97 kB / 0.6234 GB, free: 8.879 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.586e-05/0.005787, allocations: 15.98 kB / 0.6234 GB, free: 8.863 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.895e-05/0.005846, allocations: 114.9 kB / 0.6235 GB, free: 8.742 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.064e-06/0.005853, allocations: 3.953 kB / 0.6235 GB, free: 8.738 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.387e-05/0.005877, allocations: 16.17 kB / 0.6235 GB, free: 8.715 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.005878, allocations: 0 / 0.6235 GB, free: 8.715 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.005882, allocations: 0 / 0.6235 GB, free: 8.715 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.005886, allocations: 3.984 kB / 0.6235 GB, free: 8.711 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.457e-05/0.00595, allocations: 109.3 kB / 0.6236 GB, free: 8.574 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.005951, allocations: 0 / 0.6236 GB, free: 8.574 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.267e-06/0.005961, allocations: 0 / 0.6236 GB, free: 8.574 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.005963, allocations: 7.922 kB / 0.6236 GB, free: 8.566 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.661e-06/0.005968, allocations: 8 kB / 0.6236 GB, free: 8.559 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.00597, allocations: 4.328 kB / 0.6236 GB, free: 8.555 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.005971, allocations: 0 / 0.6236 GB, free: 8.555 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.991e-05/0.006051, allocations: 81.06 kB / 0.6237 GB, free: 8.457 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 6.983e-06/0.006058, allocations: 7.953 kB / 0.6237 GB, free: 8.449 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.979e-06/0.006068, allocations: 4 kB / 0.6237 GB, free: 8.445 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.18e-05/0.00608, allocations: 7.922 kB / 0.6237 GB, free: 8.438 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.316e-05/0.006103, allocations: 4 kB / 0.6237 GB, free: 8.434 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.808e-06/0.006107, allocations: 0 / 0.6237 GB, free: 8.434 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.135e-05/0.006138, allocations: 95.25 kB / 0.6238 GB, free: 8.34 MB / 0.5886 GB Notification: Performance of sort global known variables: time 7e-08/0.006138, allocations: 3.938 kB / 0.6238 GB, free: 8.336 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001348/0.006273, allocations: 16 kB / 0.6238 GB, free: 8.32 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.0001119/0.006385, allocations: 95.25 kB / 0.6239 GB, free: 8.215 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001685/0.006553, allocations: 149 kB / 0.6241 GB, free: 8.051 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.006555, allocations: 0 / 0.6241 GB, free: 8.051 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 2.302e-05/0.006578, allocations: 12 kB / 0.6241 GB, free: 8.039 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001613/0.006739, allocations: 12.59 kB / 0.6241 GB, free: 8.031 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002447/0.006984, allocations: 150.6 kB / 0.6242 GB, free: 7.852 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.794e-05/0.007022, allocations: 71.41 kB / 0.6243 GB, free: 7.762 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.664e-05/0.007039, allocations: 12.5 kB / 0.6243 GB, free: 7.75 MB / 0.5886 GB Notification: Performance of SimCode: time 5.51e-07/0.007039, allocations: 0 / 0.6243 GB, free: 7.75 MB / 0.5886 GB Notification: Performance of Templates: time 0.002011/0.00905, allocations: 0.9332 MB / 0.6252 GB, free: 6.832 MB / 0.5886 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=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.795377059839666] Failed to read output from testmodel.py, exit status != 0: 0.014689960516989231 0.022683544 0.017725213 Calling exit ...