Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.And.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.0007292/0.0007292, 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.001143/0.001143, 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.886/0.886, allocations: 177.1 MB / 202.8 MB, free: 5.75 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.7113/0.7113, allocations: 154.6 MB / 413.7 MB, free: 0.8359 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.And,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Logical_Validation_And",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Logical.Validation.And,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Logical_Validation_And",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.086e-06/3.086e-06, allocations: 0 / 0.618 GB, free: 13.69 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.274e-05/2.583e-05, allocations: 6.344 kB / 0.6181 GB, free: 13.68 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.And): time 0.001803/0.001829, allocations: 0.6398 MB / 0.6187 GB, free: 13.05 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001137/0.002966, allocations: 1.213 MB / 0.6199 GB, free: 11.82 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.934e-05/0.003005, allocations: 4 kB / 0.6199 GB, free: 11.82 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.556e-05/0.003031, allocations: 3.938 kB / 0.6199 GB, free: 11.81 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 6.244e-05/0.003093, allocations: 11.88 kB / 0.6199 GB, free: 11.8 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004796/0.003573, allocations: 214.4 kB / 0.6201 GB, free: 11.6 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0004269/0.003999, allocations: 175.7 kB / 0.6203 GB, free: 11.43 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 8.791e-05/0.004087, allocations: 11.98 kB / 0.6203 GB, free: 11.41 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001063/0.004194, allocations: 99.86 kB / 0.6204 GB, free: 11.32 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001006/0.004294, allocations: 51.84 kB / 0.6204 GB, free: 11.27 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.567e-05/0.00432, allocations: 16 kB / 0.6204 GB, free: 11.25 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 5.624e-05/0.004376, allocations: 20 kB / 0.6204 GB, free: 11.23 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 2.187e-05/0.004398, allocations: 11.98 kB / 0.6205 GB, free: 11.22 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 5.313e-05/0.004451, allocations: 47.89 kB / 0.6205 GB, free: 11.17 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001814/0.004632, allocations: 179.6 kB / 0.6207 GB, free: 11 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.596e-06/0.004636, allocations: 4 kB / 0.6207 GB, free: 10.99 MB / 0.5886 GB Notification: Performance of FrontEnd: time 9.22e-07/0.004637, allocations: 4 kB / 0.6207 GB, free: 10.99 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.226e-06/0.00464, allocations: 0 / 0.6207 GB, free: 10.99 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.00503, allocations: 349.6 kB / 0.621 GB, free: 10.6 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.002e-05/0.00507, allocations: 17.45 kB / 0.621 GB, free: 10.59 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.832e-05/0.005099, allocations: 34.75 kB / 0.6211 GB, free: 10.54 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.123e-05/0.00514, allocations: 8.891 kB / 0.6211 GB, free: 10.54 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.442e-05/0.005224, allocations: 117.6 kB / 0.6212 GB, free: 10.39 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.951e-05/0.005244, allocations: 8.375 kB / 0.6212 GB, free: 10.39 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.973e-05/0.005274, allocations: 12.38 kB / 0.6212 GB, free: 10.38 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001165/0.00539, allocations: 46.23 kB / 0.6212 GB, free: 10.32 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.276e-06/0.005398, allocations: 4.125 kB / 0.6212 GB, free: 10.32 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.628e-06/0.005408, allocations: 384 / 0.6212 GB, free: 10.32 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.785e-06/0.005416, allocations: 8.125 kB / 0.6213 GB, free: 10.31 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.264e-05/0.005458, allocations: 15.98 kB / 0.6213 GB, free: 10.3 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004326/0.005891, allocations: 295.9 kB / 0.6216 GB, free: 9.965 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 6.437e-05/0.005955, allocations: 30.58 kB / 0.6216 GB, free: 9.926 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.195e-05/0.005977, allocations: 16.94 kB / 0.6216 GB, free: 9.906 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.093e-05/0.005988, allocations: 3.938 kB / 0.6216 GB, free: 9.902 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001407/0.006129, allocations: 79.31 kB / 0.6217 GB, free: 9.812 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=7): time 1.242e-06/0.00613, allocations: 0 / 0.6217 GB, free: 9.812 MB / 0.5886 GB Notification: Performance of matching and sorting (n=7): time 0.0002018/0.006332, allocations: 109.6 kB / 0.6218 GB, free: 9.699 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.415e-05/0.006366, allocations: 51.41 kB / 0.6218 GB, free: 9.637 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.041e-05/0.006437, allocations: 125.8 kB / 0.622 GB, free: 9.504 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.074e-05/0.006457, allocations: 33.7 kB / 0.622 GB, free: 9.465 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 5.007e-05/0.006507, allocations: 92.12 kB / 0.6221 GB, free: 9.371 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.328e-05/0.006521, allocations: 15.91 kB / 0.6221 GB, free: 9.355 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.049e-05/0.006581, allocations: 45.69 kB / 0.6221 GB, free: 9.305 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.817e-05/0.006659, allocations: 318.8 kB / 0.6224 GB, free: 8.984 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001193/0.006779, allocations: 119.4 kB / 0.6225 GB, free: 8.855 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001202/0.006899, allocations: 159.6 kB / 0.6227 GB, free: 8.672 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001282/0.007027, allocations: 155.6 kB / 0.6228 GB, free: 8.492 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.00703, allocations: 7.938 kB / 0.6229 GB, free: 8.484 MB / 0.5886 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003192/0.007349, allocations: 328.2 kB / 0.6232 GB, free: 8.133 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 5.216e-05/0.007401, allocations: 67.86 kB / 0.6232 GB, free: 8.055 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.007407, allocations: 4 kB / 0.6232 GB, free: 8.051 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.199e-05/0.007419, allocations: 0 / 0.6232 GB, free: 8.051 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.859e-05/0.007438, allocations: 4 kB / 0.6232 GB, free: 8.047 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.538e-06/0.007442, allocations: 0 / 0.6232 GB, free: 8.047 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002091/0.007651, allocations: 63.94 kB / 0.6233 GB, free: 7.984 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.255e-05/0.007674, allocations: 11.98 kB / 0.6233 GB, free: 7.973 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,and1.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.878e-05/0.007753, allocations: 130.7 kB / 0.6234 GB, free: 7.836 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.282e-05/0.007765, allocations: 7.938 kB / 0.6234 GB, free: 7.828 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.516e-05/0.007791, allocations: 12.44 kB / 0.6235 GB, free: 7.812 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.007793, allocations: 64 / 0.6235 GB, free: 7.812 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.007798, allocations: 4 kB / 0.6235 GB, free: 7.809 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.367e-06/0.007802, allocations: 3.938 kB / 0.6235 GB, free: 7.805 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.434e-05/0.007896, allocations: 152.7 kB / 0.6236 GB, free: 7.613 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.007898, allocations: 0 / 0.6236 GB, free: 7.613 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.378e-06/0.007902, allocations: 0 / 0.6236 GB, free: 7.613 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.007904, allocations: 4 kB / 0.6236 GB, free: 7.609 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.382e-06/0.00791, allocations: 0 / 0.6236 GB, free: 7.609 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.007911, allocations: 0 / 0.6236 GB, free: 7.609 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.007912, allocations: 0 / 0.6236 GB, free: 7.609 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001215/0.008034, allocations: 117.3 kB / 0.6237 GB, free: 7.477 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 9.467e-06/0.008043, allocations: 11.95 kB / 0.6237 GB, free: 7.465 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.05e-05/0.008054, allocations: 0 / 0.6237 GB, free: 7.465 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.281e-05/0.008066, allocations: 7.984 kB / 0.6237 GB, free: 7.457 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.189e-05/0.008098, allocations: 8 kB / 0.6238 GB, free: 7.449 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.07e-06/0.008103, allocations: 4 kB / 0.6238 GB, free: 7.445 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.761e-05/0.008141, allocations: 91.27 kB / 0.6238 GB, free: 7.355 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.008141, allocations: 0 / 0.6238 GB, free: 7.355 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001654/0.008306, allocations: 35.94 kB / 0.6239 GB, free: 7.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: 7 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,and1.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.0003055/0.008612, allocations: 0.6554 MB / 0.6245 GB, free: 6.637 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002589/0.008871, allocations: 274.1 kB / 0.6248 GB, free: 6.332 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.008872, allocations: 256 / 0.6248 GB, free: 6.332 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 3.128e-05/0.008904, allocations: 23.98 kB / 0.6248 GB, free: 6.309 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001823/0.009086, allocations: 18.45 kB / 0.6248 GB, free: 6.293 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001367/0.01045, allocations: 1.959 MB / 0.6267 GB, free: 4.16 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.86e-05/0.01049, allocations: 71.33 kB / 0.6268 GB, free: 4.07 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 2.371e-05/0.01052, allocations: 4 kB / 0.6268 GB, free: 4.066 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.391e-05/0.01055, allocations: 28.48 kB / 0.6268 GB, free: 4.039 MB / 0.5886 GB Notification: Performance of SimCode: time 5.21e-07/0.01055, allocations: 0 / 0.6268 GB, free: 4.039 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01665/0.0272, allocations: 3.74 MB / 0.6305 GB, free: 500 kB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.902/6.929, allocations: 6.406 kB / 0.6305 GB, free: 496 kB / 0.5886 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.And.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.And.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.And.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.And.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_OBC_CDL_Logical_Validation_And_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Controls_OBC_CDL_Logical_Validation_And.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.And.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.56190802808851] Failed to read output from testmodel.py, exit status != 0: 7.007957854308188 7.020499591 7.013246906 Calling exit ...