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.0007591/0.0007591, allocations: 80.45 kB / 19.15 MB, free: 0.7734 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.0008389/0.0008389, allocations: 162.3 kB / 22.43 MB, free: 2.141 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.8697/0.8697, allocations: 177.2 MB / 202.8 MB, free: 5.77 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.6931/0.6931, allocations: 155 MB / 414.2 MB, free: 0.4961 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.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.001414/0.001414, allocations: 71.02 kB / 0.6187 GB, free: 13.26 MB / 0.5886 GB [/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. Notification: Performance of FrontEnd - Absyn->SCode: time 0.4338/0.4352, allocations: 102 MB / 0.7183 GB, free: 23.14 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Or): time 0.001352/0.4365, allocations: 0.6353 MB / 0.7189 GB, free: 22.75 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.001193/0.4377, allocations: 1.209 MB / 0.7201 GB, free: 21.88 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.751e-05/0.4378, allocations: 0 / 0.7201 GB, free: 21.88 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 2.986e-05/0.4378, allocations: 4.547 kB / 0.7201 GB, free: 21.88 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 6.202e-05/0.4379, allocations: 15.62 kB / 0.7201 GB, free: 21.86 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.000462/0.4383, allocations: 214.9 kB / 0.7203 GB, free: 21.76 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0001851/0.4385, allocations: 177.9 kB / 0.7204 GB, free: 21.68 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 9.895e-05/0.4386, allocations: 12.59 kB / 0.7205 GB, free: 21.67 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000118/0.4387, allocations: 93.61 kB / 0.7206 GB, free: 21.63 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001152/0.4389, allocations: 52.78 kB / 0.7206 GB, free: 21.62 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.774e-05/0.4389, allocations: 15.16 kB / 0.7206 GB, free: 21.62 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 6.768e-05/0.4389, allocations: 31.61 kB / 0.7206 GB, free: 21.61 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 2.374e-05/0.439, allocations: 13.28 kB / 0.7207 GB, free: 21.6 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 6.741e-05/0.439, allocations: 52 kB / 0.7207 GB, free: 21.58 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0002286/0.4393, allocations: 180.9 kB / 0.7209 GB, free: 21.51 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.4393, allocations: 0.8438 kB / 0.7209 GB, free: 21.51 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.363e-06/0.4393, allocations: 0 / 0.7209 GB, free: 21.51 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.062e-06/0.4393, allocations: 1.156 kB / 0.7209 GB, free: 21.51 MB / 0.6355 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.0003665/0.4396, allocations: 357.7 kB / 0.7212 GB, free: 21.16 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.067e-05/0.4397, allocations: 10.75 kB / 0.7212 GB, free: 21.16 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.949e-05/0.4397, allocations: 36.58 kB / 0.7213 GB, free: 21.12 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.21e-05/0.4397, allocations: 17.52 kB / 0.7213 GB, free: 21.11 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.635e-05/0.4398, allocations: 119 kB / 0.7214 GB, free: 20.98 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.517e-05/0.4398, allocations: 5.672 kB / 0.7214 GB, free: 20.98 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.348e-05/0.4398, allocations: 10.23 kB / 0.7214 GB, free: 20.98 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.886e-05/0.4399, allocations: 57.31 kB / 0.7215 GB, free: 20.93 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.183e-06/0.44, allocations: 7.938 kB / 0.7215 GB, free: 20.92 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.618e-06/0.44, allocations: 1.922 kB / 0.7215 GB, free: 20.92 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.44, allocations: 3.938 kB / 0.7215 GB, free: 20.92 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.434e-05/0.44, allocations: 18.84 kB / 0.7215 GB, free: 20.91 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003382/0.4403, allocations: 298.8 kB / 0.7218 GB, free: 20.64 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.466e-05/0.4404, allocations: 28.5 kB / 0.7218 GB, free: 20.61 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.01e-05/0.4404, allocations: 19.56 kB / 0.7218 GB, free: 20.6 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 8.506e-06/0.4404, allocations: 2.375 kB / 0.7218 GB, free: 20.6 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001357/0.4406, allocations: 81.84 kB / 0.7219 GB, free: 20.54 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 1.032e-06/0.4406, allocations: 0 / 0.7219 GB, free: 20.54 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0001904/0.4408, allocations: 104.8 kB / 0.722 GB, free: 20.48 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.741e-05/0.4408, allocations: 53.27 kB / 0.7221 GB, free: 20.42 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.016e-05/0.4408, allocations: 117 kB / 0.7222 GB, free: 20.32 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.769e-05/0.4409, allocations: 33.86 kB / 0.7222 GB, free: 20.28 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.603e-05/0.4409, allocations: 94.38 kB / 0.7223 GB, free: 20.19 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.284e-05/0.4409, allocations: 20.47 kB / 0.7223 GB, free: 20.18 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.534e-05/0.441, allocations: 47.98 kB / 0.7224 GB, free: 20.15 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.335e-05/0.441, allocations: 323.9 kB / 0.7227 GB, free: 19.83 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001153/0.4411, allocations: 120.1 kB / 0.7228 GB, free: 19.75 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001152/0.4412, allocations: 154.9 kB / 0.7229 GB, free: 19.62 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001175/0.4414, allocations: 160.5 kB / 0.7231 GB, free: 19.48 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.4414, allocations: 0 / 0.7231 GB, free: 19.48 MB / 0.6355 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002865/0.4416, allocations: 329.1 kB / 0.7234 GB, free: 19.26 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.595e-05/0.4417, allocations: 67.3 kB / 0.7235 GB, free: 19.19 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.4417, allocations: 1.422 kB / 0.7235 GB, free: 19.19 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.419e-05/0.4417, allocations: 2.25 kB / 0.7235 GB, free: 19.19 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.877e-05/0.4417, allocations: 3.234 kB / 0.7235 GB, free: 19.19 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.294e-06/0.4417, allocations: 6.297 kB / 0.7235 GB, free: 19.19 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002136/0.4419, allocations: 59.64 kB / 0.7235 GB, free: 19.18 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.271e-05/0.442, allocations: 15.22 kB / 0.7235 GB, free: 19.17 MB / 0.6355 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 6.191e-05/0.442, allocations: 126 kB / 0.7237 GB, free: 19.05 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.486e-06/0.442, allocations: 6.969 kB / 0.7237 GB, free: 19.05 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.095e-05/0.4421, allocations: 10.2 kB / 0.7237 GB, free: 19.04 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.4421, allocations: 1.031 kB / 0.7237 GB, free: 19.04 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.4421, allocations: 1.125 kB / 0.7237 GB, free: 19.04 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.4421, allocations: 0.5625 kB / 0.7237 GB, free: 19.04 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.075e-05/0.4421, allocations: 146.5 kB / 0.7238 GB, free: 18.87 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.4421, allocations: 5.156 kB / 0.7238 GB, free: 18.87 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.769e-06/0.4421, allocations: 5.828 kB / 0.7238 GB, free: 18.86 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.4421, allocations: 0.75 kB / 0.7238 GB, free: 18.86 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.484e-06/0.4422, allocations: 2.812 kB / 0.7238 GB, free: 18.86 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.41e-07/0.4422, allocations: 0 / 0.7238 GB, free: 18.86 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.4422, allocations: 64 / 0.7238 GB, free: 18.86 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001028/0.4423, allocations: 124 kB / 0.724 GB, free: 18.77 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.224e-06/0.4423, allocations: 2.469 kB / 0.724 GB, free: 18.77 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.052e-05/0.4423, allocations: 0.75 kB / 0.724 GB, free: 18.77 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.08e-05/0.4423, allocations: 6.094 kB / 0.724 GB, free: 18.77 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.682e-05/0.4423, allocations: 6.109 kB / 0.724 GB, free: 18.77 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.31e-06/0.4423, allocations: 2.625 kB / 0.724 GB, free: 18.77 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 2.453e-05/0.4424, allocations: 93.92 kB / 0.7241 GB, free: 18.68 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6e-08/0.4424, allocations: 1.125 kB / 0.7241 GB, free: 18.68 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001672/0.4425, allocations: 35.41 kB / 0.7241 GB, free: 18.68 MB / 0.6355 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.0002351/0.4428, allocations: 0.6507 MB / 0.7247 GB, free: 18.06 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002293/0.443, allocations: 279.9 kB / 0.725 GB, free: 17.83 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.443, allocations: 1.125 kB / 0.725 GB, free: 17.83 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.311e-05/0.443, allocations: 19.8 kB / 0.725 GB, free: 17.82 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001921/0.4432, allocations: 24.36 kB / 0.725 GB, free: 17.82 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0012/0.4444, allocations: 1.961 MB / 0.727 GB, free: 16.12 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.793e-05/0.4445, allocations: 69.66 kB / 0.727 GB, free: 16.05 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 2.622e-05/0.4445, allocations: 8.875 kB / 0.727 GB, free: 16.04 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.552e-05/0.4445, allocations: 23.61 kB / 0.7271 GB, free: 16.03 MB / 0.6355 GB Notification: Performance of SimCode: time 6.32e-07/0.4445, allocations: 4 kB / 0.7271 GB, free: 16.02 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01804/0.4626, allocations: 3.76 MB / 0.7307 GB, free: 14.96 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.637/7.1, allocations: 5.875 kB / 0.7307 GB, free: 14.96 MB / 0.6355 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: 9.660909501137212] Failed to read output from testmodel.py, exit status != 0: 7.179793498013169 7.18865086 6.747351891 Calling exit ...