Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Nand.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.0008127/0.0008127, 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.0008614/0.0008614, 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.8456/0.8456, allocations: 177.2 MB / 202.8 MB, free: 5.758 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.696/0.696, allocations: 154.9 MB / 414.2 MB, free: 0.5156 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.Nand,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Logical_Validation_Nand",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Logical.Validation.Nand,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Logical_Validation_Nand",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.0008682/0.0008682, allocations: 68.72 kB / 0.6186 GB, free: 13.33 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.4547/0.4556, allocations: 102 MB / 0.7182 GB, free: 23.19 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Nand): time 0.001307/0.4569, allocations: 0.6379 MB / 0.7188 GB, free: 22.8 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.001073/0.458, allocations: 1.213 MB / 0.72 GB, free: 21.93 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.273e-05/0.458, allocations: 4 kB / 0.72 GB, free: 21.93 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 2.67e-05/0.458, allocations: 3.938 kB / 0.72 GB, free: 21.92 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 6.44e-05/0.4581, allocations: 12.27 kB / 0.72 GB, free: 21.91 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005088/0.4586, allocations: 219.6 kB / 0.7202 GB, free: 21.81 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0001854/0.4588, allocations: 174.2 kB / 0.7204 GB, free: 21.73 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 9.04e-05/0.4589, allocations: 8.312 kB / 0.7204 GB, free: 21.73 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001115/0.459, allocations: 97.67 kB / 0.7205 GB, free: 21.69 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001069/0.4591, allocations: 60.89 kB / 0.7206 GB, free: 21.66 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.643e-05/0.4591, allocations: 15.12 kB / 0.7206 GB, free: 21.66 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 6.379e-05/0.4592, allocations: 24.08 kB / 0.7206 GB, free: 21.66 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 2.061e-05/0.4592, allocations: 12.77 kB / 0.7206 GB, free: 21.66 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 6.03e-05/0.4593, allocations: 48.3 kB / 0.7207 GB, free: 21.64 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0002217/0.4595, allocations: 192.6 kB / 0.7208 GB, free: 21.56 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.4595, allocations: 1.469 kB / 0.7208 GB, free: 21.56 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.513e-06/0.4595, allocations: 0 / 0.7208 GB, free: 21.56 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.553e-06/0.4595, allocations: 0.75 kB / 0.7208 GB, free: 21.56 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.0003542/0.4599, allocations: 358 kB / 0.7212 GB, free: 21.21 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.331e-05/0.4599, allocations: 15.95 kB / 0.7212 GB, free: 21.21 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.126e-05/0.4599, allocations: 37.72 kB / 0.7212 GB, free: 21.16 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.78e-05/0.46, allocations: 11.11 kB / 0.7212 GB, free: 21.16 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.786e-05/0.46, allocations: 111.6 kB / 0.7214 GB, free: 21.03 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.548e-05/0.46, allocations: 5.469 kB / 0.7214 GB, free: 21.03 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.324e-05/0.4601, allocations: 13.05 kB / 0.7214 GB, free: 21.03 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.861e-05/0.4602, allocations: 58.34 kB / 0.7214 GB, free: 20.98 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.454e-06/0.4602, allocations: 3.938 kB / 0.7214 GB, free: 20.98 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.247e-06/0.4602, allocations: 1.656 kB / 0.7214 GB, free: 20.98 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.4602, allocations: 4.906 kB / 0.7214 GB, free: 20.97 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.48e-05/0.4602, allocations: 18.05 kB / 0.7215 GB, free: 20.96 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003539/0.4606, allocations: 295.4 kB / 0.7217 GB, free: 20.7 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.222e-05/0.4606, allocations: 29.06 kB / 0.7218 GB, free: 20.67 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.366e-05/0.4607, allocations: 15.67 kB / 0.7218 GB, free: 20.66 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 9.709e-06/0.4607, allocations: 1.062 kB / 0.7218 GB, free: 20.66 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001356/0.4608, allocations: 85.88 kB / 0.7219 GB, free: 20.6 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 1.022e-06/0.4608, allocations: 0 / 0.7219 GB, free: 20.6 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.000205/0.461, allocations: 108.6 kB / 0.722 GB, free: 20.54 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.925e-05/0.461, allocations: 58.7 kB / 0.722 GB, free: 20.47 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.11e-05/0.4611, allocations: 123.8 kB / 0.7221 GB, free: 20.36 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.927e-05/0.4611, allocations: 33.86 kB / 0.7222 GB, free: 20.32 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.627e-05/0.4612, allocations: 94.83 kB / 0.7223 GB, free: 20.23 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.317e-05/0.4612, allocations: 14.86 kB / 0.7223 GB, free: 20.22 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.564e-05/0.4612, allocations: 52.5 kB / 0.7223 GB, free: 20.2 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.132e-05/0.4613, allocations: 319.9 kB / 0.7226 GB, free: 19.88 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001108/0.4614, allocations: 120.4 kB / 0.7227 GB, free: 19.79 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001149/0.4615, allocations: 155 kB / 0.7229 GB, free: 19.66 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001208/0.4616, allocations: 159.2 kB / 0.723 GB, free: 19.53 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.215e-06/0.4616, allocations: 1.125 kB / 0.723 GB, free: 19.53 MB / 0.6355 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002882/0.4619, allocations: 329 kB / 0.7234 GB, free: 19.3 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.283e-05/0.4619, allocations: 69.03 kB / 0.7234 GB, free: 19.24 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.4619, allocations: 1.219 kB / 0.7234 GB, free: 19.24 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.462, allocations: 2.188 kB / 0.7234 GB, free: 19.24 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.768e-05/0.462, allocations: 7.203 kB / 0.7234 GB, free: 19.23 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.113e-06/0.462, allocations: 2.219 kB / 0.7234 GB, free: 19.23 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001999/0.4622, allocations: 59.67 kB / 0.7235 GB, free: 19.22 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.39e-05/0.4622, allocations: 12.14 kB / 0.7235 GB, free: 19.22 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,nand1.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 5.801e-05/0.4623, allocations: 124.1 kB / 0.7236 GB, free: 19.1 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.046e-06/0.4623, allocations: 7.875 kB / 0.7236 GB, free: 19.1 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.966e-05/0.4623, allocations: 10.3 kB / 0.7236 GB, free: 19.09 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.4623, allocations: 2.172 kB / 0.7236 GB, free: 19.09 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.4623, allocations: 0.9062 kB / 0.7236 GB, free: 19.09 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.826e-06/0.4623, allocations: 4 kB / 0.7236 GB, free: 19.09 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.316e-05/0.4624, allocations: 143.2 kB / 0.7238 GB, free: 18.92 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.4624, allocations: 0 / 0.7238 GB, free: 18.92 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.46e-06/0.4624, allocations: 6 kB / 0.7238 GB, free: 18.92 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.4624, allocations: 1.062 kB / 0.7238 GB, free: 18.92 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.285e-06/0.4624, allocations: 2.484 kB / 0.7238 GB, free: 18.92 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.01e-07/0.4624, allocations: 0 / 0.7238 GB, free: 18.92 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.4624, allocations: 0.7812 kB / 0.7238 GB, free: 18.92 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.539e-05/0.4625, allocations: 114.8 kB / 0.7239 GB, free: 18.83 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.534e-06/0.4625, allocations: 3.531 kB / 0.7239 GB, free: 18.83 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.132e-05/0.4625, allocations: 1.438 kB / 0.7239 GB, free: 18.83 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.18e-05/0.4625, allocations: 9.312 kB / 0.7239 GB, free: 18.82 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.699e-05/0.4626, allocations: 6.109 kB / 0.7239 GB, free: 18.82 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.631e-06/0.4626, allocations: 7.297 kB / 0.7239 GB, free: 18.82 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 2.341e-05/0.4626, allocations: 94.25 kB / 0.724 GB, free: 18.74 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7e-08/0.4626, allocations: 0 / 0.724 GB, free: 18.74 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.000154/0.4627, allocations: 35.47 kB / 0.7241 GB, free: 18.73 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,nand1.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.0002144/0.463, allocations: 0.652 MB / 0.7247 GB, free: 18.11 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002231/0.4632, allocations: 282.7 kB / 0.725 GB, free: 17.88 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.4632, allocations: 5.156 kB / 0.725 GB, free: 17.88 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.405e-05/0.4632, allocations: 24.59 kB / 0.725 GB, free: 17.87 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001756/0.4634, allocations: 12.78 kB / 0.725 GB, free: 17.87 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001185/0.4646, allocations: 1.955 MB / 0.7269 GB, free: 16.17 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.576e-05/0.4646, allocations: 69.5 kB / 0.727 GB, free: 16.1 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 2.506e-05/0.4646, allocations: 12.69 kB / 0.727 GB, free: 16.09 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.069e-05/0.4647, allocations: 21.77 kB / 0.727 GB, free: 16.07 MB / 0.6355 GB Notification: Performance of SimCode: time 5.51e-07/0.4647, allocations: 0.9062 kB / 0.727 GB, free: 16.07 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01888/0.4835, allocations: 3.764 MB / 0.7307 GB, free: 15.02 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.779/7.263, allocations: 4.25 kB / 0.7307 GB, free: 15.02 MB / 0.6355 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Nand.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Nand.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Nand.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Nand.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Nand_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_Nand.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Nand.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.971382790012285] Failed to read output from testmodel.py, exit status != 0: 7.339494266081601 7.350277474 6.888994135 Calling exit ...