Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Nor.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.0008699/0.0008699, allocations: 80.45 kB / 19.15 MB, free: 0.7734 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.0008655/0.0008655, allocations: 162 kB / 22.43 MB, free: 2.145 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.8814/0.8814, allocations: 177.2 MB / 202.8 MB, free: 5.77 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:686: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:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 master/package.mo): time 0.7097/0.7097, allocations: 154.9 MB / 414.2 MB, free: 500 kB / 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.Nor,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Logical_Validation_Nor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Logical.Validation.Nor,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Logical_Validation_Nor",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.0009643/0.0009643, allocations: 69.12 kB / 0.6186 GB, free: 13.23 MB / 0.5886 GB [/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. Notification: Performance of FrontEnd - Absyn->SCode: time 0.4992/0.5001, allocations: 102 MB / 0.7182 GB, free: 23.15 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Nor): time 0.001425/0.5016, allocations: 0.6262 MB / 0.7188 GB, free: 22.77 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.001192/0.5028, allocations: 1.209 MB / 0.72 GB, free: 21.9 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.809e-05/0.5028, allocations: 1.281 kB / 0.72 GB, free: 21.9 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 2.977e-05/0.5028, allocations: 3.938 kB / 0.72 GB, free: 21.9 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 7.374e-05/0.5029, allocations: 20.22 kB / 0.72 GB, free: 21.88 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.000554/0.5035, allocations: 210.5 kB / 0.7202 GB, free: 21.78 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0002078/0.5037, allocations: 173.9 kB / 0.7204 GB, free: 21.7 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001044/0.5038, allocations: 9.625 kB / 0.7204 GB, free: 21.7 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000129/0.5039, allocations: 97.41 kB / 0.7205 GB, free: 21.66 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001186/0.504, allocations: 60.56 kB / 0.7206 GB, free: 21.63 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.994e-05/0.5041, allocations: 18.38 kB / 0.7206 GB, free: 21.63 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 7.399e-05/0.5041, allocations: 28.52 kB / 0.7206 GB, free: 21.62 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 2.47e-05/0.5042, allocations: 8.391 kB / 0.7206 GB, free: 21.62 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 6.94e-05/0.5042, allocations: 56.77 kB / 0.7207 GB, free: 21.59 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0002563/0.5045, allocations: 185.3 kB / 0.7208 GB, free: 21.52 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.5045, allocations: 1.156 kB / 0.7208 GB, free: 21.52 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.445e-06/0.5045, allocations: 0 / 0.7208 GB, free: 21.52 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.003e-06/0.5045, allocations: 0 / 0.7208 GB, free: 21.52 MB / 0.6355 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.0004041/0.5049, allocations: 358.2 kB / 0.7212 GB, free: 21.18 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.317e-05/0.505, allocations: 11.92 kB / 0.7212 GB, free: 21.18 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.301e-05/0.505, allocations: 36.72 kB / 0.7212 GB, free: 21.13 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.724e-05/0.505, allocations: 12.64 kB / 0.7212 GB, free: 21.13 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.142e-05/0.5051, allocations: 110.3 kB / 0.7213 GB, free: 21 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.63e-05/0.5051, allocations: 10.19 kB / 0.7214 GB, free: 21 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.48e-05/0.5051, allocations: 14.3 kB / 0.7214 GB, free: 20.99 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.97e-05/0.5052, allocations: 48.69 kB / 0.7214 GB, free: 20.95 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.983e-06/0.5052, allocations: 3.938 kB / 0.7214 GB, free: 20.95 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.857e-06/0.5052, allocations: 1.609 kB / 0.7214 GB, free: 20.95 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.611e-06/0.5052, allocations: 2.031 kB / 0.7214 GB, free: 20.95 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.341e-05/0.5053, allocations: 20.62 kB / 0.7214 GB, free: 20.94 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003644/0.5056, allocations: 295.6 kB / 0.7217 GB, free: 20.67 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.748e-05/0.5057, allocations: 37.88 kB / 0.7218 GB, free: 20.64 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.429e-05/0.5057, allocations: 15.2 kB / 0.7218 GB, free: 20.62 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 9.758e-06/0.5058, allocations: 1.188 kB / 0.7218 GB, free: 20.62 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001766/0.5059, allocations: 86.3 kB / 0.7219 GB, free: 20.56 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 2.104e-06/0.5059, allocations: 0 / 0.7219 GB, free: 20.56 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0002775/0.5062, allocations: 108.7 kB / 0.722 GB, free: 20.5 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.324e-05/0.5062, allocations: 54.3 kB / 0.722 GB, free: 20.44 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.513e-05/0.5063, allocations: 116.4 kB / 0.7221 GB, free: 20.34 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.149e-05/0.5063, allocations: 29.39 kB / 0.7222 GB, free: 20.3 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.773e-05/0.5064, allocations: 98.75 kB / 0.7222 GB, free: 20.21 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.511e-05/0.5064, allocations: 24.09 kB / 0.7223 GB, free: 20.19 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.801e-05/0.5065, allocations: 52.11 kB / 0.7223 GB, free: 20.16 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.682e-05/0.5065, allocations: 323.7 kB / 0.7226 GB, free: 19.84 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001301/0.5066, allocations: 116.1 kB / 0.7227 GB, free: 19.76 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001232/0.5068, allocations: 157.9 kB / 0.7229 GB, free: 19.63 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001251/0.5069, allocations: 158.7 kB / 0.723 GB, free: 19.5 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.5069, allocations: 1.062 kB / 0.723 GB, free: 19.5 MB / 0.6355 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000323/0.5072, allocations: 329.6 kB / 0.7234 GB, free: 19.27 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.893e-05/0.5072, allocations: 72.34 kB / 0.7234 GB, free: 19.2 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.036e-06/0.5073, allocations: 0.9375 kB / 0.7234 GB, free: 19.2 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.675e-05/0.5073, allocations: 2.281 kB / 0.7234 GB, free: 19.2 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.244e-05/0.5073, allocations: 2.75 kB / 0.7234 GB, free: 19.2 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/0.5073, allocations: 2.016 kB / 0.7234 GB, free: 19.2 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002234/0.5075, allocations: 56.41 kB / 0.7235 GB, free: 19.2 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.653e-05/0.5075, allocations: 12.14 kB / 0.7235 GB, free: 19.2 MB / 0.6355 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,nor1.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.395e-05/0.5076, allocations: 128.3 kB / 0.7236 GB, free: 19.07 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.977e-06/0.5076, allocations: 11.3 kB / 0.7236 GB, free: 19.06 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.172e-05/0.5077, allocations: 6.531 kB / 0.7236 GB, free: 19.06 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.5077, allocations: 1 kB / 0.7236 GB, free: 19.06 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.5077, allocations: 1.344 kB / 0.7236 GB, free: 19.06 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.5077, allocations: 0.9844 kB / 0.7236 GB, free: 19.06 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.707e-05/0.5077, allocations: 142.7 kB / 0.7238 GB, free: 18.89 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.5077, allocations: 4 kB / 0.7238 GB, free: 18.89 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.624e-06/0.5077, allocations: 2.188 kB / 0.7238 GB, free: 18.89 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.5078, allocations: 1.125 kB / 0.7238 GB, free: 18.89 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.787e-06/0.5078, allocations: 6.125 kB / 0.7238 GB, free: 18.89 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/0.5078, allocations: 1.312 kB / 0.7238 GB, free: 18.89 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.5078, allocations: 0 / 0.7238 GB, free: 18.89 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001187/0.5079, allocations: 118.7 kB / 0.7239 GB, free: 18.8 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.915e-06/0.5079, allocations: 6.156 kB / 0.7239 GB, free: 18.79 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.332e-05/0.5079, allocations: 2.734 kB / 0.7239 GB, free: 18.79 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.639e-05/0.5079, allocations: 1.062 kB / 0.7239 GB, free: 18.79 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.412e-05/0.508, allocations: 8.938 kB / 0.7239 GB, free: 18.79 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.238e-06/0.508, allocations: 12.5 kB / 0.7239 GB, free: 18.78 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 2.779e-05/0.508, allocations: 89.56 kB / 0.724 GB, free: 18.7 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.508, allocations: 0 / 0.724 GB, free: 18.7 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001771/0.5082, allocations: 32.28 kB / 0.7241 GB, free: 18.7 MB / 0.6355 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,nor1.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.000297/0.5085, allocations: 0.6548 MB / 0.7247 GB, free: 18.08 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.000256/0.5087, allocations: 275.6 kB / 0.725 GB, free: 17.86 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.5087, allocations: 288 / 0.725 GB, free: 17.86 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.659e-05/0.5088, allocations: 32.59 kB / 0.725 GB, free: 17.84 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000202/0.509, allocations: 22.67 kB / 0.725 GB, free: 17.83 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001341/0.5103, allocations: 1.958 MB / 0.7269 GB, free: 16.14 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.615e-05/0.5104, allocations: 69.98 kB / 0.727 GB, free: 16.07 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 3.19e-05/0.5104, allocations: 12.67 kB / 0.727 GB, free: 16.06 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.76e-05/0.5104, allocations: 25.42 kB / 0.727 GB, free: 16.04 MB / 0.6355 GB Notification: Performance of SimCode: time 7.32e-07/0.5104, allocations: 1.688 kB / 0.727 GB, free: 16.04 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02197/0.5324, allocations: 3.749 MB / 0.7307 GB, free: 14.99 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.828/7.36, allocations: 5.562 kB / 0.7307 GB, free: 14.98 MB / 0.6355 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Nor.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Nor.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Nor_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 IDEAS_dev_IDEAS_Controls_OBC_CDL_Logical_Validation_Nor.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Nor.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.147237255005166] Failed to read output from testmodel.py, exit status != 0: 7.437283020000905 7.449680449 6.942550178 Calling exit ...