Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.MultiAnd.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.0008503/0.0008503, allocations: 105.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.0009127/0.0009127, allocations: 211.6 kB / 22.25 MB, free: 3.586 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.9822/0.9822, allocations: 230.6 MB / 256 MB, free: 9.414 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.781/0.781, allocations: 203.8 MB / 0.5042 GB, free: 10.41 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.MultiAnd,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Logical_Validation_MultiAnd",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Logical.Validation.MultiAnd,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Logical_Validation_MultiAnd",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.000983/0.000983, allocations: 66.78 kB / 0.7182 GB, free: 4.027 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5367/0.5377, allocations: 102 MB / 0.8178 GB, free: 1.035 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.MultiAnd): time 0.00156/0.5392, allocations: 0.7921 MB / 0.8186 GB, free: 0.5391 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001493/0.5407, allocations: 1.506 MB / 0.82 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.514e-05/0.5408, allocations: 0 / 0.82 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001286/0.5409, allocations: 22.22 kB / 0.8201 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.944e-05/0.541, allocations: 36.61 kB / 0.8201 GB, free: 15.42 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001019/0.542, allocations: 0.5143 MB / 0.8206 GB, free: 15.17 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0005772/0.5426, allocations: 483.1 kB / 0.8211 GB, free: 14.97 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001547/0.5427, allocations: 35.78 kB / 0.8211 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001977/0.5429, allocations: 180.3 kB / 0.8213 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002428/0.5432, allocations: 152.3 kB / 0.8214 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 6.584e-05/0.5432, allocations: 44.06 kB / 0.8215 GB, free: 14.83 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001146/0.5434, allocations: 54.83 kB / 0.8215 GB, free: 14.83 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 7.326e-05/0.5434, allocations: 47.77 kB / 0.8216 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.000157/0.5436, allocations: 141.9 kB / 0.8217 GB, free: 14.74 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0005011/0.5441, allocations: 420.2 kB / 0.8221 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/0.5441, allocations: 1.781 kB / 0.8221 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.896e-06/0.5441, allocations: 0 / 0.8221 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 9.779e-06/0.5441, allocations: 0 / 0.8221 GB, free: 14.59 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0007331/0.5448, allocations: 0.5753 MB / 0.8227 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.758e-05/0.5449, allocations: 12.52 kB / 0.8227 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.041e-05/0.5449, allocations: 41.14 kB / 0.8227 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.877e-05/0.545, allocations: 30.58 kB / 0.8227 GB, free: 14.03 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002787/0.5453, allocations: 209.2 kB / 0.8229 GB, free: 13.86 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.47e-05/0.5453, allocations: 18.25 kB / 0.823 GB, free: 13.86 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.41e-05/0.5454, allocations: 34.23 kB / 0.823 GB, free: 13.85 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002357/0.5456, allocations: 149.5 kB / 0.8231 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.5456, allocations: 3.938 kB / 0.8231 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.478e-05/0.5456, allocations: 6.781 kB / 0.8231 GB, free: 13.76 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.282e-06/0.5456, allocations: 6.844 kB / 0.8231 GB, free: 13.76 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001244/0.5457, allocations: 86.22 kB / 0.8232 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007354/0.5465, allocations: 0.5955 MB / 0.8238 GB, free: 13.3 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000166/0.5466, allocations: 89.97 kB / 0.8239 GB, free: 13.25 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.602e-05/0.5467, allocations: 36.8 kB / 0.8239 GB, free: 13.23 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.206e-05/0.5467, allocations: 1.125 kB / 0.8239 GB, free: 13.23 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003175/0.547, allocations: 162.4 kB / 0.8241 GB, free: 13.15 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=20): time 1.763e-06/0.547, allocations: 0 / 0.8241 GB, free: 13.15 MB / 0.6198 GB Notification: Performance of matching and sorting (n=20): time 0.0004421/0.5475, allocations: 253.7 kB / 0.8243 GB, free: 13.05 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.48e-05/0.5475, allocations: 56.55 kB / 0.8244 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001575/0.5477, allocations: 186.9 kB / 0.8246 GB, free: 12.84 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.971e-05/0.5477, allocations: 39.81 kB / 0.8246 GB, free: 12.81 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 9.733e-05/0.5478, allocations: 127.1 kB / 0.8247 GB, free: 12.7 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.169e-05/0.5479, allocations: 45.7 kB / 0.8248 GB, free: 12.66 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001574/0.548, allocations: 122 kB / 0.8249 GB, free: 12.62 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001056/0.5481, allocations: 322.7 kB / 0.8252 GB, free: 12.3 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003326/0.5485, allocations: 312 kB / 0.8255 GB, free: 12.09 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003334/0.5488, allocations: 400.2 kB / 0.8259 GB, free: 11.76 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003452/0.5491, allocations: 409.1 kB / 0.8263 GB, free: 11.42 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/0.5491, allocations: 1.531 kB / 0.8263 GB, free: 11.42 MB / 0.6198 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007811/0.5499, allocations: 0.7746 MB / 0.827 GB, free: 10.91 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 9.014e-05/0.55, allocations: 167.9 kB / 0.8272 GB, free: 10.74 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.808e-06/0.55, allocations: 3.188 kB / 0.8272 GB, free: 10.74 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.07e-05/0.55, allocations: 8.75 kB / 0.8272 GB, free: 10.73 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.056e-05/0.5501, allocations: 14.92 kB / 0.8272 GB, free: 10.73 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.786e-06/0.5501, allocations: 5.734 kB / 0.8272 GB, free: 10.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004741/0.5506, allocations: 142.7 kB / 0.8273 GB, free: 10.7 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.052e-05/0.5506, allocations: 38.33 kB / 0.8274 GB, free: 10.7 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 26 ($whenCondition9,$whenCondition10,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul5.y,$PRE.booPul5.y,booPul4.y,$PRE.booPul4.y,booPul3.y,$PRE.booPul3.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.y,mulAnd5.uTemp[4],mulAnd5.uTemp[3],mulAnd5.uTemp[2],mulAnd5.y,mulAnd2.y,mulAnd0.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 5 * 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 0.0001442/0.5507, allocations: 152.6 kB / 0.8275 GB, free: 10.57 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.052e-05/0.5508, allocations: 24.19 kB / 0.8275 GB, free: 10.55 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.539e-05/0.5508, allocations: 19.41 kB / 0.8276 GB, free: 10.54 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.5508, allocations: 5.406 kB / 0.8276 GB, free: 10.53 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.448e-06/0.5508, allocations: 2.125 kB / 0.8276 GB, free: 10.53 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.55e-06/0.5508, allocations: 1.125 kB / 0.8276 GB, free: 10.53 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004629/0.5513, allocations: 476 kB / 0.828 GB, free: 10.19 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.5513, allocations: 1.375 kB / 0.828 GB, free: 10.19 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.38e-05/0.5513, allocations: 8.828 kB / 0.828 GB, free: 10.18 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.317e-06/0.5513, allocations: 0.6094 kB / 0.828 GB, free: 10.18 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.146e-05/0.5513, allocations: 7.938 kB / 0.828 GB, free: 10.18 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.888e-06/0.5513, allocations: 1.984 kB / 0.828 GB, free: 10.18 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.5513, allocations: 0 / 0.828 GB, free: 10.18 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004896/0.5518, allocations: 283.7 kB / 0.8283 GB, free: 9.996 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.671e-05/0.5518, allocations: 12.83 kB / 0.8283 GB, free: 9.988 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.737e-05/0.5518, allocations: 3.953 kB / 0.8283 GB, free: 9.988 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.344e-05/0.5519, allocations: 6.406 kB / 0.8283 GB, free: 9.984 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.454e-05/0.5519, allocations: 22.55 kB / 0.8284 GB, free: 9.977 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.295e-05/0.552, allocations: 12.72 kB / 0.8284 GB, free: 9.973 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 6.88e-05/0.552, allocations: 122.1 kB / 0.8285 GB, free: 9.883 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.552, allocations: 0 / 0.8285 GB, free: 9.883 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002951/0.5523, allocations: 83.41 kB / 0.8286 GB, free: 9.871 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: 20 (mulAnd5.uTemp[2],$whenCondition9,$whenCondition10,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,mulAnd2.y,mulAnd5.y,mulAnd5.uTemp[3],mulAnd5.uTemp[4],booPul1.y,booPul2.y,booPul3.y,booPul4.y,booPul5.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.0004785/0.5528, allocations: 0.8223 MB / 0.8294 GB, free: 9.156 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0006328/0.5534, allocations: 0.7042 MB / 0.8301 GB, free: 8.574 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.5534, allocations: 0 / 0.8301 GB, free: 8.574 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 8.423e-05/0.5535, allocations: 72.5 kB / 0.8301 GB, free: 8.551 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003191/0.5538, allocations: 48.61 kB / 0.8302 GB, free: 8.535 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003516/0.5574, allocations: 3.61 MB / 0.8337 GB, free: 5.766 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001045/0.5575, allocations: 114.1 kB / 0.8338 GB, free: 5.691 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 9.388e-05/0.5576, allocations: 26.08 kB / 0.8338 GB, free: 5.688 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.35e-05/0.5576, allocations: 55.02 kB / 0.8339 GB, free: 5.648 MB / 0.6198 GB Notification: Performance of SimCode: time 1.233e-06/0.5576, allocations: 0 / 0.8339 GB, free: 5.648 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02499/0.5826, allocations: 7.54 MB / 0.8412 GB, free: 2.859 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.803/7.386, allocations: 4.031 kB / 0.8413 GB, free: 2.859 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.MultiAnd.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.MultiAnd_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 IDEAS_dev_IDEAS_Controls_OBC_CDL_Logical_Validation_MultiAnd.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.390764323994517] Failed to read output from testmodel.py, exit status != 0: 7.4638637700118124 7.47416556 6.928028108 Calling exit ...