Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0007607/0.0007607, 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.001313/0.001313, allocations: 206.6 kB / 22.24 MB, free: 3.582 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.9458/0.9458, allocations: 230.6 MB / 256 MB, free: 9.621 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7972/0.7972, allocations: 203.5 MB / 0.5039 GB, free: 10.68 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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_IDEAS_Controls_OBC_CDL_Logical_Validation_MultiAnd",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Logical.Validation.MultiAnd,fileNamePrefix="IDEAS_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.0009136/0.0009136, allocations: 66.52 kB / 0.7178 GB, free: 4.383 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.533/0.5339, allocations: 102 MB / 0.8174 GB, free: 1.23 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.MultiAnd): time 0.001711/0.5357, allocations: 0.8002 MB / 0.8182 GB, free: 0.7305 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001703/0.5374, allocations: 1.498 MB / 0.8196 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.424e-05/0.5374, allocations: 5.25 kB / 0.8196 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001265/0.5375, allocations: 22.42 kB / 0.8197 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.861e-05/0.5376, allocations: 32.19 kB / 0.8197 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009241/0.5385, allocations: 0.5196 MB / 0.8202 GB, free: 15.37 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0005151/0.539, allocations: 477.6 kB / 0.8207 GB, free: 15.17 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001735/0.5392, allocations: 32.11 kB / 0.8207 GB, free: 15.15 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001991/0.5394, allocations: 188.7 kB / 0.8209 GB, free: 15.08 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002457/0.5397, allocations: 152 kB / 0.821 GB, free: 15.03 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 5.508e-05/0.5397, allocations: 44.38 kB / 0.821 GB, free: 15.03 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001078/0.5398, allocations: 50.09 kB / 0.8211 GB, free: 15.03 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 7.121e-05/0.5399, allocations: 44.16 kB / 0.8211 GB, free: 15.01 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001757/0.5401, allocations: 148.9 kB / 0.8213 GB, free: 14.94 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0004478/0.5405, allocations: 419 kB / 0.8217 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.5405, allocations: 3.938 kB / 0.8217 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.844e-06/0.5405, allocations: 4 kB / 0.8217 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.715e-06/0.5405, allocations: 0 / 0.8217 GB, free: 14.79 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.0006599/0.5412, allocations: 0.5685 MB / 0.8222 GB, free: 14.28 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.691e-05/0.5412, allocations: 9.125 kB / 0.8223 GB, free: 14.28 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.218e-05/0.5413, allocations: 47.69 kB / 0.8223 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.747e-05/0.5414, allocations: 29.69 kB / 0.8223 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002794/0.5416, allocations: 197.2 kB / 0.8225 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.688e-05/0.5417, allocations: 22.05 kB / 0.8225 GB, free: 14.06 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.973e-05/0.5417, allocations: 35.86 kB / 0.8226 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002268/0.5419, allocations: 148.4 kB / 0.8227 GB, free: 13.97 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.5419, allocations: 3.938 kB / 0.8227 GB, free: 13.97 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.586e-05/0.542, allocations: 14.3 kB / 0.8227 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.013e-06/0.542, allocations: 2.906 kB / 0.8227 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001239/0.5421, allocations: 81.33 kB / 0.8228 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008239/0.5429, allocations: 0.5992 MB / 0.8234 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002116/0.5431, allocations: 82.45 kB / 0.8235 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.604e-05/0.5432, allocations: 41.44 kB / 0.8235 GB, free: 13.43 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.637e-05/0.5432, allocations: 1.375 kB / 0.8235 GB, free: 13.43 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002971/0.5435, allocations: 171.2 kB / 0.8237 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=20): time 1.553e-06/0.5435, allocations: 0 / 0.8237 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of matching and sorting (n=20): time 0.0004644/0.544, allocations: 250.2 kB / 0.8239 GB, free: 13.25 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.132e-05/0.544, allocations: 56.64 kB / 0.824 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001916/0.5442, allocations: 187.8 kB / 0.8241 GB, free: 13.04 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 5.198e-05/0.5443, allocations: 43.36 kB / 0.8242 GB, free: 13 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001053/0.5444, allocations: 124.4 kB / 0.8243 GB, free: 12.9 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.66e-05/0.5444, allocations: 45.61 kB / 0.8244 GB, free: 12.86 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000173/0.5446, allocations: 115.3 kB / 0.8245 GB, free: 12.82 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001177/0.5447, allocations: 329.2 kB / 0.8248 GB, free: 12.5 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003608/0.5451, allocations: 315.2 kB / 0.8251 GB, free: 12.28 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000357/0.5454, allocations: 389.4 kB / 0.8254 GB, free: 11.96 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003799/0.5458, allocations: 412.9 kB / 0.8258 GB, free: 11.62 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.5458, allocations: 1.188 kB / 0.8258 GB, free: 11.62 MB / 0.6198 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008738/0.5467, allocations: 0.7802 MB / 0.8266 GB, free: 11.11 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001196/0.5468, allocations: 162.4 kB / 0.8268 GB, free: 10.94 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/0.5468, allocations: 3 kB / 0.8268 GB, free: 10.94 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.903e-05/0.5468, allocations: 9.312 kB / 0.8268 GB, free: 10.93 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.389e-05/0.5469, allocations: 10.89 kB / 0.8268 GB, free: 10.93 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.36e-05/0.5469, allocations: 12.98 kB / 0.8268 GB, free: 10.92 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004581/0.5473, allocations: 148.7 kB / 0.8269 GB, free: 10.89 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.386e-05/0.5474, allocations: 28.89 kB / 0.827 GB, free: 10.89 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.0001459/0.5475, allocations: 156.7 kB / 0.8271 GB, free: 10.76 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.875e-05/0.5475, allocations: 20.58 kB / 0.8271 GB, free: 10.75 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.865e-05/0.5476, allocations: 19.47 kB / 0.8272 GB, free: 10.73 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.5476, allocations: 1.281 kB / 0.8272 GB, free: 10.73 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/0.5476, allocations: 5.375 kB / 0.8272 GB, free: 10.73 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.431e-06/0.5476, allocations: 5.547 kB / 0.8272 GB, free: 10.73 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004798/0.5481, allocations: 475.1 kB / 0.8276 GB, free: 10.38 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.5481, allocations: 0 / 0.8276 GB, free: 10.38 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.377e-05/0.5481, allocations: 5.234 kB / 0.8276 GB, free: 10.38 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.5481, allocations: 1.828 kB / 0.8276 GB, free: 10.38 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.346e-05/0.5481, allocations: 8.031 kB / 0.8276 GB, free: 10.38 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.5481, allocations: 0 / 0.8276 GB, free: 10.38 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.5481, allocations: 1.469 kB / 0.8276 GB, free: 10.38 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002319/0.5483, allocations: 288 kB / 0.8279 GB, free: 10.19 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.417e-05/0.5484, allocations: 12.94 kB / 0.8279 GB, free: 10.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.79e-05/0.5484, allocations: 2.875 kB / 0.8279 GB, free: 10.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.278e-05/0.5484, allocations: 10.42 kB / 0.8279 GB, free: 10.18 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.933e-05/0.5485, allocations: 19.98 kB / 0.8279 GB, free: 10.17 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.488e-05/0.5485, allocations: 10.75 kB / 0.828 GB, free: 10.17 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 6.846e-05/0.5486, allocations: 115.9 kB / 0.8281 GB, free: 10.09 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5486, allocations: 0 / 0.8281 GB, free: 10.09 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000259/0.5488, allocations: 86.14 kB / 0.8282 GB, free: 10.07 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.0004957/0.5493, allocations: 0.8219 MB / 0.829 GB, free: 9.355 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0006417/0.55, allocations: 0.7021 MB / 0.8296 GB, free: 8.777 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.55, allocations: 0 / 0.8296 GB, free: 8.777 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 8.582e-05/0.5501, allocations: 62.94 kB / 0.8297 GB, free: 8.762 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003035/0.5504, allocations: 52.11 kB / 0.8298 GB, free: 8.742 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003967/0.5543, allocations: 3.619 MB / 0.8333 GB, free: 5.969 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001349/0.5545, allocations: 116.6 kB / 0.8334 GB, free: 5.891 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 8.438e-05/0.5545, allocations: 26.05 kB / 0.8334 GB, free: 5.887 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.231e-05/0.5546, allocations: 55.42 kB / 0.8335 GB, free: 5.848 MB / 0.6198 GB Notification: Performance of SimCode: time 1.012e-06/0.5546, allocations: 0 / 0.8335 GB, free: 5.848 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02211/0.5767, allocations: 7.533 MB / 0.8408 GB, free: 3.145 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.883/7.46, allocations: 11.56 kB / 0.8408 GB, free: 3.137 MB / 0.6198 GB " [Timeout remaining time 652] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.MultiAnd.sim & python3 -m fmpy simulate --output-file IDEAS_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_IDEAS_Controls_OBC_CDL_Logical_Validation_MultiAnd.fmu > IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.507235468365252] Failed to read output from testmodel.py, exit status != 0: 7.539890081156045 7.551757982 7.009153782 Calling exit ...