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.0007902/0.0007902, allocations: 76.45 kB / 19.14 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.0009625/0.0009625, allocations: 158 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.8905/0.8905, allocations: 177.2 MB / 202.8 MB, free: 5.777 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: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.7025/0.7025, allocations: 154.9 MB / 414.2 MB, free: 0.4922 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.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.0008579/0.0008579, allocations: 66.47 kB / 0.6187 GB, free: 13.26 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.4127/0.4136, allocations: 102 MB / 0.7183 GB, free: 23.14 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Nor): time 0.00128/0.4148, allocations: 0.6357 MB / 0.7189 GB, free: 22.75 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.001213/0.416, allocations: 1.206 MB / 0.7201 GB, free: 21.89 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.559e-05/0.4161, allocations: 0 / 0.7201 GB, free: 21.89 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 3.621e-05/0.4161, allocations: 3.938 kB / 0.7201 GB, free: 21.89 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 8.983e-05/0.4162, allocations: 15.81 kB / 0.7201 GB, free: 21.88 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.000522/0.4167, allocations: 223.7 kB / 0.7203 GB, free: 21.76 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0001877/0.4169, allocations: 173.2 kB / 0.7205 GB, free: 21.69 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 9.432e-05/0.417, allocations: 8.578 kB / 0.7205 GB, free: 21.68 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001262/0.4172, allocations: 93.19 kB / 0.7206 GB, free: 21.64 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001283/0.4173, allocations: 56.11 kB / 0.7206 GB, free: 21.62 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.712e-05/0.4173, allocations: 15.88 kB / 0.7206 GB, free: 21.62 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 6.637e-05/0.4174, allocations: 23.92 kB / 0.7206 GB, free: 21.62 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 2.085e-05/0.4174, allocations: 8.922 kB / 0.7207 GB, free: 21.62 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 6.651e-05/0.4175, allocations: 59.59 kB / 0.7207 GB, free: 21.59 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0002228/0.4177, allocations: 189.4 kB / 0.7209 GB, free: 21.52 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.4177, allocations: 1.094 kB / 0.7209 GB, free: 21.52 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.623e-06/0.4177, allocations: 0 / 0.7209 GB, free: 21.52 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.46e-06/0.4177, allocations: 0 / 0.7209 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.0004078/0.4181, allocations: 359 kB / 0.7212 GB, free: 21.17 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.614e-05/0.4182, allocations: 10.69 kB / 0.7212 GB, free: 21.17 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.504e-05/0.4182, allocations: 33.19 kB / 0.7213 GB, free: 21.13 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.668e-05/0.4182, allocations: 12.89 kB / 0.7213 GB, free: 21.12 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.17e-05/0.4183, allocations: 120.1 kB / 0.7214 GB, free: 20.99 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.638e-05/0.4183, allocations: 3.969 kB / 0.7214 GB, free: 20.99 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.42e-05/0.4183, allocations: 14.89 kB / 0.7214 GB, free: 20.98 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001092/0.4184, allocations: 57.77 kB / 0.7215 GB, free: 20.94 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.4185, allocations: 12.61 kB / 0.7215 GB, free: 20.93 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.107e-06/0.4185, allocations: 0 / 0.7215 GB, free: 20.93 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.149e-06/0.4185, allocations: 1.156 kB / 0.7215 GB, free: 20.93 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.472e-05/0.4185, allocations: 13.45 kB / 0.7215 GB, free: 20.92 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003484/0.4189, allocations: 295.1 kB / 0.7218 GB, free: 20.66 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.479e-05/0.4189, allocations: 34.8 kB / 0.7218 GB, free: 20.62 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.06e-05/0.4189, allocations: 15.33 kB / 0.7218 GB, free: 20.61 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 7.774e-06/0.4189, allocations: 1.031 kB / 0.7218 GB, free: 20.61 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001455/0.4191, allocations: 81.88 kB / 0.7219 GB, free: 20.55 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 1.653e-06/0.4191, allocations: 0 / 0.7219 GB, free: 20.55 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0002036/0.4193, allocations: 113 kB / 0.722 GB, free: 20.49 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.661e-05/0.4193, allocations: 57.97 kB / 0.7221 GB, free: 20.43 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.522e-05/0.4194, allocations: 116.7 kB / 0.7222 GB, free: 20.32 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.925e-05/0.4194, allocations: 29.8 kB / 0.7222 GB, free: 20.29 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.544e-05/0.4194, allocations: 94.58 kB / 0.7223 GB, free: 20.2 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.305e-05/0.4194, allocations: 19 kB / 0.7223 GB, free: 20.18 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.291e-05/0.4195, allocations: 49.44 kB / 0.7224 GB, free: 20.16 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.406e-05/0.4195, allocations: 322.6 kB / 0.7227 GB, free: 19.84 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001142/0.4197, allocations: 121.6 kB / 0.7228 GB, free: 19.75 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001154/0.4198, allocations: 153.9 kB / 0.7229 GB, free: 19.62 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001177/0.4199, allocations: 155.6 kB / 0.7231 GB, free: 19.49 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.4199, allocations: 1.062 kB / 0.7231 GB, free: 19.49 MB / 0.6355 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002968/0.4202, allocations: 324.3 kB / 0.7234 GB, free: 19.27 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.771e-05/0.4202, allocations: 67.91 kB / 0.7235 GB, free: 19.21 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.87e-06/0.4202, allocations: 6.5 kB / 0.7235 GB, free: 19.2 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.221e-05/0.4202, allocations: 1.156 kB / 0.7235 GB, free: 19.2 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.788e-05/0.4203, allocations: 7.594 kB / 0.7235 GB, free: 19.2 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.4203, allocations: 2.594 kB / 0.7235 GB, free: 19.2 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002045/0.4205, allocations: 55.28 kB / 0.7235 GB, free: 19.19 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.141e-05/0.4205, allocations: 12.81 kB / 0.7235 GB, free: 19.19 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 5.661e-05/0.4206, allocations: 128.7 kB / 0.7237 GB, free: 19.07 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.126e-06/0.4206, allocations: 6.141 kB / 0.7237 GB, free: 19.06 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.166e-05/0.4206, allocations: 11.59 kB / 0.7237 GB, free: 19.05 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.4206, allocations: 1.094 kB / 0.7237 GB, free: 19.05 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.4206, allocations: 0 / 0.7237 GB, free: 19.05 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.4206, allocations: 4.781 kB / 0.7237 GB, free: 19.05 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.47e-05/0.4207, allocations: 147.6 kB / 0.7238 GB, free: 18.88 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.704e-06/0.4207, allocations: 5.031 kB / 0.7238 GB, free: 18.88 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.21e-06/0.4207, allocations: 5.156 kB / 0.7238 GB, free: 18.88 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.4207, allocations: 5.078 kB / 0.7238 GB, free: 18.87 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.914e-06/0.4207, allocations: 2.047 kB / 0.7238 GB, free: 18.87 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.92e-07/0.4207, allocations: 4 kB / 0.7238 GB, free: 18.87 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.4207, allocations: 1.094 kB / 0.7238 GB, free: 18.87 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.702e-05/0.4208, allocations: 113.9 kB / 0.724 GB, free: 18.78 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.945e-06/0.4208, allocations: 7.562 kB / 0.724 GB, free: 18.78 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.15e-05/0.4208, allocations: 1.938 kB / 0.724 GB, free: 18.78 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.72e-05/0.4208, allocations: 1.859 kB / 0.724 GB, free: 18.78 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.814e-05/0.4208, allocations: 4.828 kB / 0.724 GB, free: 18.78 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.302e-06/0.4209, allocations: 3.781 kB / 0.724 GB, free: 18.78 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 2.584e-05/0.4209, allocations: 94.45 kB / 0.7241 GB, free: 18.7 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.4209, allocations: 1.219 kB / 0.7241 GB, free: 18.7 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001664/0.421, allocations: 34.47 kB / 0.7241 GB, free: 18.69 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.0002237/0.4213, allocations: 0.6531 MB / 0.7247 GB, free: 18.07 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002303/0.4215, allocations: 279.2 kB / 0.725 GB, free: 17.84 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.4215, allocations: 5.188 kB / 0.725 GB, free: 17.84 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.136e-05/0.4215, allocations: 24.64 kB / 0.725 GB, free: 17.83 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001727/0.4217, allocations: 15.56 kB / 0.725 GB, free: 17.82 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001198/0.4229, allocations: 1.965 MB / 0.727 GB, free: 16.12 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.916e-05/0.4229, allocations: 72.56 kB / 0.727 GB, free: 16.05 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 3.051e-05/0.423, allocations: 10 kB / 0.727 GB, free: 16.05 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.214e-05/0.423, allocations: 18.5 kB / 0.7271 GB, free: 16.04 MB / 0.6355 GB Notification: Performance of SimCode: time 6.21e-07/0.423, allocations: 0 / 0.7271 GB, free: 16.04 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01601/0.439, allocations: 3.765 MB / 0.7307 GB, free: 14.97 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.588/7.027, allocations: 10.92 kB / 0.7308 GB, free: 14.97 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_OBC_CDL_Logical_Validation_Nor_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=50 --tolerance=1e-06 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: 9.660806616069749] Failed to read output from testmodel.py, exit status != 0: 7.105909935897216 7.116664799 6.696967901 Calling exit ...