Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Xor.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.0007842/0.0007842, allocations: 105.5 kB / 18.95 MB, free: 1.188 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.0008165/0.0008165, allocations: 208.1 kB / 22.25 MB, free: 3.59 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.9684/0.9684, allocations: 230.6 MB / 256 MB, free: 9.594 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.798/0.798, allocations: 203.8 MB / 0.5042 GB, free: 10.43 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.Xor,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Logical_Validation_Xor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Logical.Validation.Xor,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Logical_Validation_Xor",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.001005/0.001005, allocations: 79.53 kB / 0.7182 GB, free: 4.047 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5487/0.5497, allocations: 102 MB / 0.8178 GB, free: 1.039 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Xor): time 0.001641/0.5514, allocations: 0.6329 MB / 0.8184 GB, free: 0.6484 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001307/0.5527, allocations: 1.22 MB / 0.8196 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.653e-05/0.5527, allocations: 0 / 0.8196 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.848e-05/0.5528, allocations: 4.594 kB / 0.8196 GB, free: 15.76 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.41e-05/0.5528, allocations: 13.09 kB / 0.8196 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006553/0.5535, allocations: 220.2 kB / 0.8198 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002591/0.5538, allocations: 170.4 kB / 0.82 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001227/0.5539, allocations: 10.97 kB / 0.82 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 9.825e-05/0.554, allocations: 70.53 kB / 0.8201 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001196/0.5541, allocations: 61.12 kB / 0.8201 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.513e-05/0.5541, allocations: 15.62 kB / 0.8202 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 7.072e-05/0.5542, allocations: 24.66 kB / 0.8202 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.559e-05/0.5542, allocations: 11.23 kB / 0.8202 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.96e-05/0.5543, allocations: 55.53 kB / 0.8202 GB, free: 15.49 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002181/0.5545, allocations: 153.3 kB / 0.8204 GB, free: 15.44 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.5545, allocations: 0 / 0.8204 GB, free: 15.44 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.274e-06/0.5545, allocations: 0 / 0.8204 GB, free: 15.44 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.603e-06/0.5545, allocations: 4 kB / 0.8204 GB, free: 15.44 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.0004496/0.555, allocations: 358.9 kB / 0.8207 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.258e-05/0.555, allocations: 9.25 kB / 0.8207 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.996e-05/0.555, allocations: 33.22 kB / 0.8208 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.541e-05/0.5551, allocations: 12.33 kB / 0.8208 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.126e-05/0.5552, allocations: 117.8 kB / 0.8209 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.521e-05/0.5552, allocations: 6.75 kB / 0.8209 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.038e-05/0.5552, allocations: 10.36 kB / 0.8209 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001067/0.5553, allocations: 47.12 kB / 0.821 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/0.5553, allocations: 3.938 kB / 0.821 GB, free: 14.87 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.102e-05/0.5553, allocations: 4.516 kB / 0.821 GB, free: 14.87 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.7e-06/0.5554, allocations: 5.438 kB / 0.821 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.416e-05/0.5554, allocations: 14.97 kB / 0.821 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004361/0.5558, allocations: 303.9 kB / 0.8213 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 8.465e-05/0.5559, allocations: 36.27 kB / 0.8213 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.723e-05/0.5559, allocations: 14.06 kB / 0.8213 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.246e-05/0.556, allocations: 5.438 kB / 0.8213 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001891/0.5561, allocations: 86.89 kB / 0.8214 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.733e-06/0.5561, allocations: 0 / 0.8214 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0002437/0.5564, allocations: 108.2 kB / 0.8215 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.791e-05/0.5564, allocations: 60.52 kB / 0.8216 GB, free: 14.35 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.117e-05/0.5565, allocations: 120.2 kB / 0.8217 GB, free: 14.24 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.046e-05/0.5565, allocations: 32.48 kB / 0.8217 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.469e-05/0.5566, allocations: 91.16 kB / 0.8218 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.577e-05/0.5566, allocations: 16.78 kB / 0.8218 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.323e-05/0.5567, allocations: 48.39 kB / 0.8219 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.318e-05/0.5568, allocations: 324.6 kB / 0.8222 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001292/0.5569, allocations: 119.5 kB / 0.8223 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001405/0.557, allocations: 157.1 kB / 0.8224 GB, free: 13.55 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001357/0.5572, allocations: 163.5 kB / 0.8226 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.5572, allocations: 3.406 kB / 0.8226 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003091/0.5575, allocations: 320.7 kB / 0.8229 GB, free: 13.2 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 5.203e-05/0.5575, allocations: 68.05 kB / 0.823 GB, free: 13.13 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.104e-06/0.5575, allocations: 0 / 0.823 GB, free: 13.13 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.415e-05/0.5575, allocations: 1.594 kB / 0.823 GB, free: 13.13 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.112e-05/0.5576, allocations: 3.625 kB / 0.823 GB, free: 13.13 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.733e-06/0.5576, allocations: 8.781 kB / 0.823 GB, free: 13.12 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002006/0.5578, allocations: 60.78 kB / 0.823 GB, free: 13.11 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.149e-05/0.5578, allocations: 16.83 kB / 0.8231 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,xor1.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.079e-05/0.5579, allocations: 124.6 kB / 0.8232 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.075e-05/0.5579, allocations: 7.828 kB / 0.8232 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.428e-05/0.5579, allocations: 9.656 kB / 0.8232 GB, free: 12.97 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.5579, allocations: 9.266 kB / 0.8232 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.5579, allocations: 0 / 0.8232 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.5579, allocations: 0 / 0.8232 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.799e-05/0.558, allocations: 146.7 kB / 0.8233 GB, free: 12.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.558, allocations: 2.719 kB / 0.8233 GB, free: 12.8 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.2e-06/0.558, allocations: 1.312 kB / 0.8233 GB, free: 12.8 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.558, allocations: 1.031 kB / 0.8233 GB, free: 12.8 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.666e-06/0.558, allocations: 1.094 kB / 0.8233 GB, free: 12.8 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.558, allocations: 1.094 kB / 0.8234 GB, free: 12.8 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.558, allocations: 0 / 0.8234 GB, free: 12.8 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001177/0.5582, allocations: 120.4 kB / 0.8235 GB, free: 12.71 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.684e-06/0.5582, allocations: 5.781 kB / 0.8235 GB, free: 12.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.339e-05/0.5582, allocations: 4.969 kB / 0.8235 GB, free: 12.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.304e-05/0.5582, allocations: 4.781 kB / 0.8235 GB, free: 12.7 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.165e-05/0.5582, allocations: 8.438 kB / 0.8235 GB, free: 12.7 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.007e-05/0.5583, allocations: 10.84 kB / 0.8235 GB, free: 12.69 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.684e-05/0.5583, allocations: 89.33 kB / 0.8236 GB, free: 12.61 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5583, allocations: 1.062 kB / 0.8236 GB, free: 12.61 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001682/0.5585, allocations: 31.16 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,xor1.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.0003469/0.5588, allocations: 0.6555 MB / 0.8243 GB, free: 11.98 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002917/0.5591, allocations: 285.5 kB / 0.8245 GB, free: 11.75 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.5591, allocations: 0.875 kB / 0.8245 GB, free: 11.75 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 3.693e-05/0.5591, allocations: 20.17 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.0002002/0.5593, allocations: 20.36 kB / 0.8246 GB, free: 11.74 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001621/0.561, allocations: 1.969 MB / 0.8265 GB, free: 10.03 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.099e-05/0.561, allocations: 72.98 kB / 0.8266 GB, free: 9.957 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.105e-05/0.561, allocations: 10.3 kB / 0.8266 GB, free: 9.953 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.384e-05/0.5611, allocations: 19.77 kB / 0.8266 GB, free: 9.938 MB / 0.6198 GB Notification: Performance of SimCode: time 1.663e-06/0.5611, allocations: 0 / 0.8266 GB, free: 9.938 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01965/0.5807, allocations: 3.642 MB / 0.8301 GB, free: 8.918 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.708/7.289, allocations: 1.344 kB / 0.8301 GB, free: 8.918 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Xor.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Xor.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Xor.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Xor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_OBC_CDL_Logical_Validation_Xor_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Controls_OBC_CDL_Logical_Validation_Xor.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Xor.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.277222390286624] Failed to read output from testmodel.py, exit status != 0: 7.368207412771881 7.381532964 6.824795052 Calling exit ...