Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Or.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.0008549/0.0008549, allocations: 109.5 kB / 18.95 MB, free: 1.184 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.0008329/0.0008329, allocations: 216 kB / 22.25 MB, free: 3.578 MB / 13.93 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.9494/0.9494, allocations: 230.6 MB / 256 MB, free: 9.613 MB / 202.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.8013/0.8013, allocations: 203.8 MB / 0.5042 GB, free: 10.42 MB / 410.7 MB " [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.Logical.Validation.Or,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Logical_Validation_Or",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Logical.Validation.Or,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Logical_Validation_Or",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0009488/0.0009488, allocations: 62.5 kB / 0.7182 GB, free: 4.012 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4975/0.4985, allocations: 102 MB / 0.8178 GB, free: 1.027 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Or): time 0.001438/0.4999, allocations: 0.6401 MB / 0.8184 GB, free: 0.6289 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.00109/0.501, allocations: 1.206 MB / 0.8196 GB, free: 15.76 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.348e-05/0.501, allocations: 0 / 0.8196 GB, free: 15.76 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.849e-05/0.5011, allocations: 0 / 0.8196 GB, free: 15.76 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.503e-05/0.5011, allocations: 13.92 kB / 0.8196 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005667/0.5017, allocations: 224.8 kB / 0.8198 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002076/0.5019, allocations: 168.5 kB / 0.82 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.268e-05/0.502, allocations: 4.75 kB / 0.82 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 9.268e-05/0.5021, allocations: 74.44 kB / 0.8201 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001246/0.5022, allocations: 63.5 kB / 0.8201 GB, free: 15.51 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.532e-05/0.5022, allocations: 15 kB / 0.8201 GB, free: 15.51 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 6.306e-05/0.5023, allocations: 22.08 kB / 0.8202 GB, free: 15.51 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.291e-05/0.5023, allocations: 9.391 kB / 0.8202 GB, free: 15.51 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 7.243e-05/0.5024, allocations: 58.83 kB / 0.8202 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002066/0.5026, allocations: 149.8 kB / 0.8204 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.5026, allocations: 0 / 0.8204 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.034e-06/0.5026, allocations: 0 / 0.8204 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.943e-06/0.5026, allocations: 0 / 0.8204 GB, free: 15.43 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000415/0.503, allocations: 358.8 kB / 0.8207 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.717e-05/0.5031, allocations: 9.75 kB / 0.8207 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.709e-05/0.5031, allocations: 37.11 kB / 0.8208 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.177e-05/0.5031, allocations: 12.92 kB / 0.8208 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.15e-05/0.5032, allocations: 116.8 kB / 0.8209 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.433e-05/0.5032, allocations: 3.906 kB / 0.8209 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.828e-05/0.5033, allocations: 13.73 kB / 0.8209 GB, free: 14.9 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.028e-05/0.5033, allocations: 49.05 kB / 0.8209 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.704e-06/0.5034, allocations: 6.375 kB / 0.821 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.534e-06/0.5034, allocations: 0.5625 kB / 0.821 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.049e-06/0.5034, allocations: 0 / 0.821 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.352e-05/0.5034, allocations: 17.58 kB / 0.821 GB, free: 14.85 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003711/0.5038, allocations: 302.2 kB / 0.8213 GB, free: 14.58 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 7.068e-05/0.5038, allocations: 32.5 kB / 0.8213 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.12e-05/0.5039, allocations: 18.7 kB / 0.8213 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 8.226e-06/0.5039, allocations: 0 / 0.8213 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001493/0.504, allocations: 84.28 kB / 0.8214 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 9.62e-07/0.504, allocations: 0 / 0.8214 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0001991/0.5042, allocations: 103.8 kB / 0.8215 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.346e-05/0.5043, allocations: 58.12 kB / 0.8215 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.858e-05/0.5043, allocations: 119.2 kB / 0.8217 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.297e-05/0.5044, allocations: 31.86 kB / 0.8217 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.7e-05/0.5044, allocations: 96.06 kB / 0.8218 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.402e-05/0.5044, allocations: 16.02 kB / 0.8218 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.79e-05/0.5045, allocations: 48.48 kB / 0.8218 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.564e-05/0.5046, allocations: 319.8 kB / 0.8221 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001306/0.5047, allocations: 123.3 kB / 0.8223 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001364/0.5048, allocations: 160.3 kB / 0.8224 GB, free: 13.55 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001436/0.505, allocations: 161.5 kB / 0.8226 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.505, allocations: 0 / 0.8226 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000329/0.5053, allocations: 318.3 kB / 0.8229 GB, free: 13.2 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.798e-05/0.5054, allocations: 68.27 kB / 0.8229 GB, free: 13.13 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.254e-06/0.5054, allocations: 5.188 kB / 0.8229 GB, free: 13.12 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.395e-05/0.5054, allocations: 2.156 kB / 0.8229 GB, free: 13.12 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.105e-05/0.5054, allocations: 3.219 kB / 0.8229 GB, free: 13.12 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.016e-06/0.5054, allocations: 2.594 kB / 0.823 GB, free: 13.12 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002233/0.5056, allocations: 62.42 kB / 0.823 GB, free: 13.11 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.155e-05/0.5057, allocations: 11.66 kB / 0.823 GB, free: 13.11 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,or1.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 2 * 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.741e-05/0.5057, allocations: 132.5 kB / 0.8231 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.104e-05/0.5058, allocations: 7.203 kB / 0.8232 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.49e-05/0.5058, allocations: 9.625 kB / 0.8232 GB, free: 12.97 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.629e-06/0.5058, allocations: 5.078 kB / 0.8232 GB, free: 12.97 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.5058, allocations: 0 / 0.8232 GB, free: 12.97 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.5058, allocations: 4.406 kB / 0.8232 GB, free: 12.97 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.884e-05/0.5059, allocations: 146.6 kB / 0.8233 GB, free: 12.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.5059, allocations: 0 / 0.8233 GB, free: 12.8 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.42e-06/0.5059, allocations: 5 kB / 0.8233 GB, free: 12.8 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.5059, allocations: 0.9688 kB / 0.8233 GB, free: 12.8 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.893e-06/0.5059, allocations: 4.969 kB / 0.8233 GB, free: 12.79 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.704e-06/0.5059, allocations: 4.969 kB / 0.8233 GB, free: 12.79 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.5059, allocations: 0 / 0.8233 GB, free: 12.79 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000105/0.506, allocations: 122.4 kB / 0.8234 GB, free: 12.7 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 6.562e-06/0.506, allocations: 2.25 kB / 0.8234 GB, free: 12.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.166e-05/0.506, allocations: 6.156 kB / 0.8235 GB, free: 12.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.428e-05/0.506, allocations: 4 kB / 0.8235 GB, free: 12.69 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.155e-05/0.5061, allocations: 6.047 kB / 0.8235 GB, free: 12.69 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.508e-06/0.5061, allocations: 1.438 kB / 0.8235 GB, free: 12.69 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.161e-05/0.5061, allocations: 90.38 kB / 0.8236 GB, free: 12.61 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5061, allocations: 0 / 0.8236 GB, free: 12.61 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001663/0.5063, allocations: 35.94 kB / 0.8236 GB, free: 12.61 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,or1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0003133/0.5066, allocations: 0.6532 MB / 0.8242 GB, free: 11.98 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002825/0.5069, allocations: 280.1 kB / 0.8245 GB, free: 11.75 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.5069, allocations: 0 / 0.8245 GB, free: 11.75 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 4.261e-05/0.5069, allocations: 20.59 kB / 0.8245 GB, free: 11.75 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002124/0.5071, allocations: 14.45 kB / 0.8245 GB, free: 11.75 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001549/0.5087, allocations: 1.961 MB / 0.8264 GB, free: 10.05 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.604e-05/0.5087, allocations: 69.33 kB / 0.8265 GB, free: 9.977 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.171e-05/0.5087, allocations: 9.078 kB / 0.8265 GB, free: 9.973 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.739e-05/0.5088, allocations: 21.59 kB / 0.8265 GB, free: 9.957 MB / 0.6198 GB Notification: Performance of SimCode: time 1.022e-06/0.5088, allocations: 3.938 kB / 0.8265 GB, free: 9.953 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01944/0.5282, allocations: 3.639 MB / 0.8301 GB, free: 8.922 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.568/7.096, allocations: 2.344 kB / 0.8301 GB, free: 8.922 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Or.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Or.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Or.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Or.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_OBC_CDL_Logical_Validation_Or_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Controls_OBC_CDL_Logical_Validation_Or.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Or.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.023873998317868] Failed to read output from testmodel.py, exit status != 0: 7.17324480926618 7.183720843 6.679061998 Calling exit ...