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.0008491/0.0008491, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.0008784/0.0008784, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.9138/0.9138, allocations: 177.2 MB / 202.8 MB, free: 5.738 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.7508/0.7508, allocations: 154.5 MB / 413.7 MB, free: 0.8438 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: Performance of FrontEnd - loaded program: time 2.164e-06/2.164e-06, allocations: 3.828 kB / 0.6181 GB, free: 13.7 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.904e-05/2.12e-05, allocations: 2.281 kB / 0.6181 GB, free: 13.7 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Or): time 0.001236/0.001257, allocations: 0.6322 MB / 0.6187 GB, free: 13.07 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001137/0.002394, allocations: 1.209 MB / 0.6199 GB, free: 11.85 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.106e-05/0.002435, allocations: 4 kB / 0.6199 GB, free: 11.84 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.588e-05/0.002461, allocations: 3.938 kB / 0.6199 GB, free: 11.84 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 6.342e-05/0.002524, allocations: 11.88 kB / 0.6199 GB, free: 11.83 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004789/0.003003, allocations: 223.7 kB / 0.6201 GB, free: 11.62 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001699/0.003173, allocations: 179.6 kB / 0.6203 GB, free: 11.44 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 8.698e-05/0.00326, allocations: 7.984 kB / 0.6203 GB, free: 11.43 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001046/0.003364, allocations: 91.92 kB / 0.6204 GB, free: 11.34 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001009/0.003465, allocations: 55.84 kB / 0.6204 GB, free: 11.29 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.55e-05/0.003491, allocations: 16 kB / 0.6204 GB, free: 11.27 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 5.719e-05/0.003548, allocations: 23.98 kB / 0.6204 GB, free: 11.25 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.902e-05/0.003567, allocations: 12 kB / 0.6205 GB, free: 11.24 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 5.472e-05/0.003622, allocations: 55.88 kB / 0.6205 GB, free: 11.18 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001727/0.003794, allocations: 175.6 kB / 0.6207 GB, free: 11.01 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.593e-06/0.003796, allocations: 0 / 0.6207 GB, free: 11.01 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.002e-06/0.003797, allocations: 0 / 0.6207 GB, free: 11.01 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.488e-06/0.003801, allocations: 0 / 0.6207 GB, free: 11.01 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003902/0.004192, allocations: 357.5 kB / 0.621 GB, free: 10.62 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.711e-05/0.004229, allocations: 13.47 kB / 0.621 GB, free: 10.61 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.63e-05/0.004255, allocations: 34.75 kB / 0.6211 GB, free: 10.56 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.022e-05/0.004295, allocations: 12.89 kB / 0.6211 GB, free: 10.55 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.381e-05/0.004369, allocations: 117.6 kB / 0.6212 GB, free: 10.41 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.443e-05/0.004384, allocations: 12.36 kB / 0.6212 GB, free: 10.4 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.788e-05/0.004401, allocations: 8.375 kB / 0.6212 GB, free: 10.39 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.82e-05/0.00449, allocations: 46.25 kB / 0.6213 GB, free: 10.34 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.352e-06/0.004496, allocations: 192 / 0.6213 GB, free: 10.34 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.664e-06/0.004504, allocations: 4.375 kB / 0.6213 GB, free: 10.34 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/0.004509, allocations: 4.125 kB / 0.6213 GB, free: 10.33 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.184e-05/0.004541, allocations: 15.98 kB / 0.6213 GB, free: 10.32 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003455/0.004886, allocations: 287.9 kB / 0.6215 GB, free: 9.992 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 6.173e-05/0.004948, allocations: 34.56 kB / 0.6216 GB, free: 9.949 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.989e-05/0.004968, allocations: 12.86 kB / 0.6216 GB, free: 9.934 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 9.849e-06/0.004978, allocations: 7.938 kB / 0.6216 GB, free: 9.926 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001258/0.005104, allocations: 83.39 kB / 0.6217 GB, free: 9.832 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=7): time 1.032e-06/0.005105, allocations: 4 kB / 0.6217 GB, free: 9.828 MB / 0.5886 GB Notification: Performance of matching and sorting (n=7): time 0.0001922/0.005297, allocations: 97.62 kB / 0.6218 GB, free: 9.727 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.294e-05/0.00533, allocations: 59.39 kB / 0.6218 GB, free: 9.656 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.626e-05/0.005396, allocations: 121.7 kB / 0.622 GB, free: 9.527 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.04e-05/0.005417, allocations: 33.7 kB / 0.622 GB, free: 9.488 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.395e-05/0.00546, allocations: 88.14 kB / 0.6221 GB, free: 9.398 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.466e-05/0.005475, allocations: 19.88 kB / 0.6221 GB, free: 9.379 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.998e-05/0.005535, allocations: 49.69 kB / 0.6221 GB, free: 9.324 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.996e-05/0.005615, allocations: 318.8 kB / 0.6224 GB, free: 9.004 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000116/0.005731, allocations: 123.4 kB / 0.6226 GB, free: 8.871 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001191/0.00585, allocations: 151.6 kB / 0.6227 GB, free: 8.695 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001255/0.005976, allocations: 163.6 kB / 0.6229 GB, free: 8.508 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-06/0.005979, allocations: 3.938 kB / 0.6229 GB, free: 8.504 MB / 0.5886 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002922/0.006271, allocations: 320.2 kB / 0.6232 GB, free: 8.16 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 4.166e-05/0.006312, allocations: 75.52 kB / 0.6232 GB, free: 8.074 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.84e-06/0.006317, allocations: 0 / 0.6232 GB, free: 8.074 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.251e-05/0.00633, allocations: 0 / 0.6232 GB, free: 8.074 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.735e-05/0.006347, allocations: 7.984 kB / 0.6232 GB, free: 8.066 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.089e-06/0.006352, allocations: 3.938 kB / 0.6232 GB, free: 8.062 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002057/0.006558, allocations: 56.28 kB / 0.6233 GB, free: 8.008 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.931e-05/0.006577, allocations: 16 kB / 0.6233 GB, free: 7.992 MB / 0.5886 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 7.093e-05/0.006648, allocations: 130.8 kB / 0.6234 GB, free: 7.855 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.786e-06/0.006657, allocations: 7.938 kB / 0.6234 GB, free: 7.848 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.067e-05/0.006678, allocations: 12.44 kB / 0.6235 GB, free: 7.832 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.006679, allocations: 4 kB / 0.6235 GB, free: 7.828 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.006685, allocations: 4 kB / 0.6235 GB, free: 7.824 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.006688, allocations: 0 / 0.6235 GB, free: 7.824 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.96e-05/0.006778, allocations: 144.7 kB / 0.6236 GB, free: 7.641 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.42e-07/0.006778, allocations: 0 / 0.6236 GB, free: 7.641 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.26e-06/0.006784, allocations: 4 kB / 0.6236 GB, free: 7.637 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.202e-06/0.006785, allocations: 0 / 0.6236 GB, free: 7.637 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.49e-06/0.00679, allocations: 4 kB / 0.6236 GB, free: 7.633 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.32e-07/0.006791, allocations: 0 / 0.6236 GB, free: 7.633 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.006792, allocations: 0 / 0.6236 GB, free: 7.633 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.926e-05/0.006891, allocations: 125.3 kB / 0.6237 GB, free: 7.492 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 6.222e-06/0.006897, allocations: 3.953 kB / 0.6237 GB, free: 7.488 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.153e-05/0.006909, allocations: 7.984 kB / 0.6237 GB, free: 7.48 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.149e-05/0.00692, allocations: 0 / 0.6237 GB, free: 7.48 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.709e-05/0.006947, allocations: 0 / 0.6237 GB, free: 7.48 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.762e-06/0.006954, allocations: 11.98 kB / 0.6238 GB, free: 7.469 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.025e-05/0.006984, allocations: 87.28 kB / 0.6238 GB, free: 7.383 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.006984, allocations: 0 / 0.6238 GB, free: 7.383 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001566/0.007141, allocations: 39.92 kB / 0.6239 GB, free: 7.344 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: 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.0004088/0.00755, allocations: 0.6476 MB / 0.6245 GB, free: 6.668 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002489/0.007799, allocations: 290.1 kB / 0.6248 GB, free: 6.348 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.007801, allocations: 0 / 0.6248 GB, free: 6.348 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 3.301e-05/0.007834, allocations: 20 kB / 0.6248 GB, free: 6.328 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001578/0.007991, allocations: 18.42 kB / 0.6248 GB, free: 6.312 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001327/0.009319, allocations: 1.964 MB / 0.6267 GB, free: 4.172 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.78e-05/0.009356, allocations: 67.34 kB / 0.6268 GB, free: 4.086 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 2.286e-05/0.009379, allocations: 11.92 kB / 0.6268 GB, free: 4.074 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.126e-05/0.009411, allocations: 16.5 kB / 0.6268 GB, free: 4.059 MB / 0.5886 GB Notification: Performance of SimCode: time 5.41e-07/0.009411, allocations: 0 / 0.6268 GB, free: 4.059 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01603/0.02544, allocations: 3.748 MB / 0.6305 GB, free: 0.5 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.744/6.77, allocations: 12.83 kB / 0.6305 GB, free: 0.4961 MB / 0.5886 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.52539389487356] Failed to read output from testmodel.py, exit status != 0: 6.855845354497433 6.865440625 6.859722996 Calling exit ...