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.00121/0.00121, 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.001414/0.001414, allocations: 216.1 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.923/0.923, allocations: 230.6 MB / 256 MB, free: 9.617 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.8026/0.8026, allocations: 203.8 MB / 0.5042 GB, free: 10.41 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.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.00103/0.00103, allocations: 75.89 kB / 0.7182 GB, free: 3.992 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4971/0.4982, allocations: 102 MB / 0.8178 GB, free: 1.012 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Nor): time 0.001413/0.4996, allocations: 0.6355 MB / 0.8184 GB, free: 0.6211 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001115/0.5007, allocations: 1.212 MB / 0.8196 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.743e-05/0.5007, allocations: 2.906 kB / 0.8196 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.745e-05/0.5008, allocations: 0.75 kB / 0.8196 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.819e-05/0.5008, allocations: 9.234 kB / 0.8196 GB, free: 15.74 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005384/0.5014, allocations: 225 kB / 0.8198 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001891/0.5016, allocations: 168.8 kB / 0.82 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.283e-05/0.5017, allocations: 9.375 kB / 0.82 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 9.67e-05/0.5018, allocations: 75.56 kB / 0.8201 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001336/0.5019, allocations: 48 kB / 0.8201 GB, free: 15.51 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.569e-05/0.5019, allocations: 18.97 kB / 0.8201 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 6.277e-05/0.502, allocations: 30.31 kB / 0.8202 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.481e-05/0.502, allocations: 15.53 kB / 0.8202 GB, free: 15.49 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.663e-05/0.5021, allocations: 48.73 kB / 0.8202 GB, free: 15.47 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002038/0.5023, allocations: 154.5 kB / 0.8204 GB, free: 15.42 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.5023, allocations: 2.172 kB / 0.8204 GB, free: 15.42 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.545e-06/0.5023, allocations: 0 / 0.8204 GB, free: 15.42 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.961e-06/0.5023, allocations: 0 / 0.8204 GB, free: 15.42 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.0004443/0.5027, allocations: 362.9 kB / 0.8207 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.902e-05/0.5028, allocations: 6.688 kB / 0.8207 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.203e-05/0.5028, allocations: 33.52 kB / 0.8208 GB, free: 15.03 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.465e-05/0.5029, allocations: 12.72 kB / 0.8208 GB, free: 15.03 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.605e-05/0.503, allocations: 114.6 kB / 0.8209 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.689e-05/0.503, allocations: 15.25 kB / 0.8209 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.93e-05/0.503, allocations: 8.266 kB / 0.8209 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.744e-05/0.5031, allocations: 52.55 kB / 0.821 GB, free: 14.85 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.827e-06/0.5031, allocations: 3.938 kB / 0.821 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.096e-05/0.5031, allocations: 4.703 kB / 0.821 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.5031, allocations: 0 / 0.821 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.28e-05/0.5031, allocations: 13.91 kB / 0.821 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003727/0.5035, allocations: 300 kB / 0.8213 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 6.812e-05/0.5036, allocations: 27.89 kB / 0.8213 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.394e-05/0.5036, allocations: 18.88 kB / 0.8213 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 8.927e-06/0.5036, allocations: 7.156 kB / 0.8213 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001481/0.5038, allocations: 80.47 kB / 0.8214 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.623e-06/0.5038, allocations: 0 / 0.8214 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0002016/0.504, allocations: 107.2 kB / 0.8215 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.113e-05/0.504, allocations: 52.06 kB / 0.8215 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.225e-05/0.5041, allocations: 120.2 kB / 0.8217 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.517e-05/0.5041, allocations: 34.36 kB / 0.8217 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.629e-05/0.5041, allocations: 90.72 kB / 0.8218 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 8.722e-05/0.5042, allocations: 24.02 kB / 0.8218 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.116e-05/0.5043, allocations: 53.48 kB / 0.8219 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.134e-05/0.5044, allocations: 321.4 kB / 0.8222 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001229/0.5045, allocations: 122.2 kB / 0.8223 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000133/0.5046, allocations: 155.3 kB / 0.8224 GB, free: 13.53 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001294/0.5048, allocations: 154.5 kB / 0.8226 GB, free: 13.4 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.5048, allocations: 0 / 0.8226 GB, free: 13.4 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003149/0.5051, allocations: 330.3 kB / 0.8229 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.13e-05/0.5051, allocations: 67.67 kB / 0.8229 GB, free: 13.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.5051, allocations: 0 / 0.8229 GB, free: 13.11 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.267e-05/0.5051, allocations: 3.062 kB / 0.823 GB, free: 13.11 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.673e-05/0.5052, allocations: 1.656 kB / 0.823 GB, free: 13.11 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.073e-06/0.5052, allocations: 8.484 kB / 0.823 GB, free: 13.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002018/0.5054, allocations: 54.8 kB / 0.823 GB, free: 13.1 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.183e-05/0.5054, allocations: 16.12 kB / 0.823 GB, free: 13.09 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,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.553e-05/0.5055, allocations: 130.6 kB / 0.8232 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.035e-06/0.5055, allocations: 7.609 kB / 0.8232 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.531e-05/0.5055, allocations: 7.844 kB / 0.8232 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.766e-06/0.5055, allocations: 4.938 kB / 0.8232 GB, free: 12.95 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.5055, allocations: 0 / 0.8232 GB, free: 12.95 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.5055, allocations: 1.062 kB / 0.8232 GB, free: 12.95 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.335e-05/0.5056, allocations: 146.4 kB / 0.8233 GB, free: 12.79 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.5056, allocations: 1.156 kB / 0.8233 GB, free: 12.79 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.02e-06/0.5056, allocations: 1.125 kB / 0.8233 GB, free: 12.79 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.5056, allocations: 9.391 kB / 0.8233 GB, free: 12.78 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.495e-06/0.5056, allocations: 3.047 kB / 0.8233 GB, free: 12.78 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.724e-06/0.5056, allocations: 5.531 kB / 0.8233 GB, free: 12.77 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.5056, allocations: 0 / 0.8233 GB, free: 12.77 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001136/0.5057, allocations: 120.1 kB / 0.8234 GB, free: 12.68 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.103e-06/0.5057, allocations: 2.75 kB / 0.8235 GB, free: 12.68 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.231e-05/0.5058, allocations: 1.406 kB / 0.8235 GB, free: 12.68 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.448e-05/0.5058, allocations: 1.25 kB / 0.8235 GB, free: 12.68 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.104e-05/0.5058, allocations: 9.484 kB / 0.8235 GB, free: 12.68 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.663e-06/0.5058, allocations: 3.703 kB / 0.8235 GB, free: 12.68 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.857e-05/0.5059, allocations: 90.69 kB / 0.8236 GB, free: 12.6 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5059, allocations: 4 kB / 0.8236 GB, free: 12.59 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001598/0.506, allocations: 35.34 kB / 0.8236 GB, free: 12.59 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,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.0004599/0.5065, allocations: 0.6504 MB / 0.8242 GB, free: 11.97 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002761/0.5067, allocations: 280.7 kB / 0.8245 GB, free: 11.74 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.5068, allocations: 0 / 0.8245 GB, free: 11.74 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 3.589e-05/0.5068, allocations: 21 kB / 0.8245 GB, free: 11.73 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001799/0.507, allocations: 20.86 kB / 0.8245 GB, free: 11.73 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001499/0.5085, allocations: 1.96 MB / 0.8264 GB, free: 10.02 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.889e-05/0.5085, allocations: 70.66 kB / 0.8265 GB, free: 9.953 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.007e-05/0.5085, allocations: 8.719 kB / 0.8265 GB, free: 9.949 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.785e-05/0.5086, allocations: 21 kB / 0.8265 GB, free: 9.934 MB / 0.6198 GB Notification: Performance of SimCode: time 7.31e-07/0.5086, allocations: 0 / 0.8265 GB, free: 9.934 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02255/0.5311, allocations: 3.634 MB / 0.8301 GB, free: 8.91 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.629/7.16, allocations: 5.422 kB / 0.8301 GB, free: 8.91 MB / 0.6198 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.173080774024129] Failed to read output from testmodel.py, exit status != 0: 7.238460055086762 7.248085236 6.743671462 Calling exit ...