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.0009101/0.0009101, allocations: 109.9 kB / 18.93 MB, free: 1.266 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.0009478/0.0009478, allocations: 218.3 kB / 22.26 MB, free: 3.695 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.9771/0.9771, allocations: 230.6 MB / 256 MB, free: 9.613 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.8144/0.8144, allocations: 203.8 MB / 0.5042 GB, free: 10.7 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.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.0009291/0.0009291, allocations: 74.61 kB / 0.7182 GB, free: 4.316 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.463/0.4639, allocations: 102 MB / 0.8179 GB, free: 1.242 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Nand): time 0.001393/0.4653, allocations: 0.6461 MB / 0.8185 GB, free: 0.8359 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001081/0.4664, allocations: 1.233 MB / 0.8197 GB, free: 15.94 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.961e-05/0.4664, allocations: 0 / 0.8197 GB, free: 15.94 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.786e-05/0.4664, allocations: 0 / 0.8197 GB, free: 15.94 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.127e-05/0.4665, allocations: 13.12 kB / 0.8197 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006856/0.4672, allocations: 219.5 kB / 0.8199 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.000293/0.4675, allocations: 170.6 kB / 0.8201 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001414/0.4676, allocations: 13.22 kB / 0.8201 GB, free: 15.74 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001429/0.4678, allocations: 74.97 kB / 0.8202 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001803/0.468, allocations: 58.72 kB / 0.8202 GB, free: 15.69 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.15e-05/0.468, allocations: 15.22 kB / 0.8202 GB, free: 15.69 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 9.752e-05/0.4681, allocations: 34.98 kB / 0.8203 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.816e-05/0.4681, allocations: 7.406 kB / 0.8203 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001071/0.4682, allocations: 61.2 kB / 0.8203 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002553/0.4685, allocations: 151.5 kB / 0.8205 GB, free: 15.6 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.4685, allocations: 0.6562 kB / 0.8205 GB, free: 15.6 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.615e-06/0.4685, allocations: 2.094 kB / 0.8205 GB, free: 15.6 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.652e-06/0.4685, allocations: 0 / 0.8205 GB, free: 15.6 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004653/0.469, allocations: 361.7 kB / 0.8208 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.079e-05/0.469, allocations: 9.062 kB / 0.8208 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.84e-05/0.469, allocations: 33.03 kB / 0.8209 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.423e-05/0.4691, allocations: 15.02 kB / 0.8209 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001038/0.4692, allocations: 115.1 kB / 0.821 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.622e-05/0.4692, allocations: 8.609 kB / 0.821 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.107e-05/0.4692, allocations: 8.062 kB / 0.821 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.597e-05/0.4693, allocations: 48.62 kB / 0.8211 GB, free: 15.03 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.726e-06/0.4693, allocations: 7.938 kB / 0.8211 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.665e-06/0.4693, allocations: 0 / 0.8211 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.4693, allocations: 3.938 kB / 0.8211 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.781e-05/0.4694, allocations: 12.78 kB / 0.8211 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004953/0.4699, allocations: 329.6 kB / 0.8214 GB, free: 14.74 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 8.358e-05/0.47, allocations: 35.8 kB / 0.8214 GB, free: 14.71 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.313e-05/0.47, allocations: 17.31 kB / 0.8215 GB, free: 14.69 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.227e-05/0.47, allocations: 4.781 kB / 0.8215 GB, free: 14.69 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001673/0.4702, allocations: 79.62 kB / 0.8215 GB, free: 14.63 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.102e-06/0.4702, allocations: 0 / 0.8215 GB, free: 14.63 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.00023/0.4704, allocations: 108.2 kB / 0.8216 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.271e-05/0.4705, allocations: 52.5 kB / 0.8217 GB, free: 14.51 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.286e-05/0.4706, allocations: 121.9 kB / 0.8218 GB, free: 14.4 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.41e-05/0.4706, allocations: 32.36 kB / 0.8218 GB, free: 14.37 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.451e-05/0.4706, allocations: 100.3 kB / 0.8219 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.566e-05/0.4707, allocations: 9.547 kB / 0.8219 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.517e-05/0.4707, allocations: 48.12 kB / 0.822 GB, free: 14.24 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.05e-05/0.4708, allocations: 324 kB / 0.8223 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001059/0.4709, allocations: 58.8 kB / 0.8224 GB, free: 13.9 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001076/0.471, allocations: 92.73 kB / 0.8224 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002037/0.4712, allocations: 159.3 kB / 0.8226 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.4712, allocations: 0 / 0.8226 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000297/0.4715, allocations: 264.4 kB / 0.8228 GB, free: 13.55 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.702e-05/0.4716, allocations: 68.92 kB / 0.8229 GB, free: 13.48 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.416e-06/0.4716, allocations: 5.969 kB / 0.8229 GB, free: 13.48 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.426e-05/0.4716, allocations: 2.094 kB / 0.8229 GB, free: 13.48 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.233e-05/0.4716, allocations: 6.922 kB / 0.8229 GB, free: 13.48 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.136e-06/0.4716, allocations: 6.422 kB / 0.8229 GB, free: 13.47 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002208/0.4719, allocations: 57.48 kB / 0.823 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.352e-05/0.4719, allocations: 11.77 kB / 0.823 GB, free: 13.46 MB / 0.6198 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 8.517e-05/0.472, allocations: 133 kB / 0.8231 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.17e-05/0.472, allocations: 16.36 kB / 0.8231 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.586e-05/0.472, allocations: 5.031 kB / 0.8231 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.472, allocations: 1.656 kB / 0.8231 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.912e-06/0.472, allocations: 0.6094 kB / 0.8231 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.646e-06/0.472, allocations: 0 / 0.8231 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001054/0.4721, allocations: 154.8 kB / 0.8233 GB, free: 13.15 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.4721, allocations: 3.938 kB / 0.8233 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.953e-06/0.4721, allocations: 4.094 kB / 0.8233 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.4721, allocations: 4 kB / 0.8233 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.246e-06/0.4721, allocations: 0.7969 kB / 0.8233 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.4721, allocations: 0.75 kB / 0.8233 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.4721, allocations: 2.781 kB / 0.8233 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001202/0.4723, allocations: 113.8 kB / 0.8234 GB, free: 13.05 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.975e-06/0.4723, allocations: 3.688 kB / 0.8234 GB, free: 13.05 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.12e-05/0.4723, allocations: 3.234 kB / 0.8234 GB, free: 13.05 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.351e-05/0.4723, allocations: 0 / 0.8234 GB, free: 13.05 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.041e-05/0.4723, allocations: 14.89 kB / 0.8234 GB, free: 13.04 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.372e-06/0.4723, allocations: 2.344 kB / 0.8234 GB, free: 13.04 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.432e-05/0.4724, allocations: 89.45 kB / 0.8235 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.4724, allocations: 0 / 0.8235 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001663/0.4725, allocations: 31.72 kB / 0.8236 GB, free: 12.96 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: 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.0003252/0.4729, allocations: 0.6584 MB / 0.8242 GB, free: 12.34 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002347/0.4731, allocations: 213.9 kB / 0.8244 GB, free: 12.18 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.4731, allocations: 1.406 kB / 0.8244 GB, free: 12.18 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 3.134e-05/0.4731, allocations: 19.34 kB / 0.8244 GB, free: 12.17 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001865/0.4733, allocations: 13.98 kB / 0.8244 GB, free: 12.17 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001607/0.4749, allocations: 1.729 MB / 0.8261 GB, free: 10.72 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001748/0.4751, allocations: 0.686 MB / 0.8268 GB, free: 10.03 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.846e-05/0.4751, allocations: 12.38 kB / 0.8268 GB, free: 10.02 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.413e-05/0.4752, allocations: 17.05 kB / 0.8268 GB, free: 10.01 MB / 0.6198 GB Notification: Performance of SimCode: time 5.41e-07/0.4752, allocations: 1.406 kB / 0.8268 GB, free: 10.01 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01611/0.4913, allocations: 3.027 MB / 0.8298 GB, free: 9.473 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.558/7.05, allocations: 8.688 kB / 0.8298 GB, free: 9.469 MB / 0.6198 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: 10.095953013980761] Failed to read output from testmodel.py, exit status != 0: 7.126926885917783 7.14265492 6.671387521 Calling exit ...