Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Not.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.0007494/0.0007494, allocations: 101.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.0008594/0.0008594, allocations: 209.2 kB / 22.24 MB, free: 3.59 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.9902/0.9902, allocations: 230.6 MB / 256 MB, free: 9.602 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.7895/0.7895, allocations: 203.8 MB / 0.5042 GB, free: 10.44 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.Not,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Logical_Validation_Not",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Logical.Validation.Not,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Logical_Validation_Not",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.001302/0.001302, allocations: 65.73 kB / 0.7182 GB, free: 4.016 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5431/0.5445, allocations: 102 MB / 0.8178 GB, free: 1.039 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Not): time 0.001453/0.5459, allocations: 0.6031 MB / 0.8184 GB, free: 0.6641 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001086/0.547, allocations: 1.131 MB / 0.8195 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.985e-05/0.547, allocations: 0 / 0.8195 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.855e-05/0.5471, allocations: 7.938 kB / 0.8195 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.637e-05/0.5471, allocations: 11.89 kB / 0.8195 GB, free: 15.83 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004295/0.5476, allocations: 115.4 kB / 0.8196 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001504/0.5477, allocations: 91.75 kB / 0.8197 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 8.836e-05/0.5478, allocations: 1.125 kB / 0.8197 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 7.379e-05/0.5479, allocations: 43.58 kB / 0.8197 GB, free: 15.72 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 8.743e-05/0.548, allocations: 19.78 kB / 0.8198 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.859e-05/0.548, allocations: 7.562 kB / 0.8198 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 6.588e-05/0.548, allocations: 17.36 kB / 0.8198 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.256e-05/0.5481, allocations: 16.98 kB / 0.8198 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.249e-05/0.5481, allocations: 26.77 kB / 0.8198 GB, free: 15.69 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001616/0.5483, allocations: 87.89 kB / 0.8199 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.5483, allocations: 0 / 0.8199 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.054e-06/0.5483, allocations: 0 / 0.8199 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.012e-06/0.5483, allocations: 0 / 0.8199 GB, free: 15.66 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004041/0.5487, allocations: 295.1 kB / 0.8202 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.5487, allocations: 8.172 kB / 0.8202 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.976e-05/0.5488, allocations: 41.14 kB / 0.8202 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.295e-05/0.5488, allocations: 8.891 kB / 0.8203 GB, free: 15.31 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.783e-05/0.5489, allocations: 113.5 kB / 0.8204 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.368e-05/0.5489, allocations: 7.031 kB / 0.8204 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.451e-05/0.5489, allocations: 10.27 kB / 0.8204 GB, free: 15.17 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.828e-05/0.549, allocations: 42.28 kB / 0.8204 GB, free: 15.13 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.385e-06/0.549, allocations: 4.547 kB / 0.8204 GB, free: 15.13 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.186e-06/0.549, allocations: 3.094 kB / 0.8204 GB, free: 15.13 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.549, allocations: 0 / 0.8204 GB, free: 15.13 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.44e-05/0.5491, allocations: 7.953 kB / 0.8204 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003277/0.5494, allocations: 251.8 kB / 0.8207 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 4.38e-05/0.5494, allocations: 15.09 kB / 0.8207 GB, free: 14.85 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.381e-05/0.5494, allocations: 11.84 kB / 0.8207 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 7.133e-06/0.5494, allocations: 3.188 kB / 0.8207 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001456/0.5496, allocations: 59.69 kB / 0.8208 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 1.383e-06/0.5496, allocations: 0 / 0.8208 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0001688/0.5498, allocations: 64.45 kB / 0.8208 GB, free: 14.74 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.421e-05/0.5498, allocations: 53 kB / 0.8209 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.599e-05/0.5499, allocations: 104 kB / 0.821 GB, free: 14.58 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.816e-05/0.5499, allocations: 32.59 kB / 0.821 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.626e-05/0.5499, allocations: 84.3 kB / 0.8211 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 9.228e-06/0.5499, allocations: 4.656 kB / 0.8211 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.417e-05/0.55, allocations: 29.77 kB / 0.8211 GB, free: 14.44 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.014e-05/0.5501, allocations: 327.5 kB / 0.8214 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.272e-05/0.5501, allocations: 59.92 kB / 0.8215 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.023e-05/0.5502, allocations: 75.69 kB / 0.8216 GB, free: 14 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.011e-05/0.5503, allocations: 80.58 kB / 0.8216 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.5503, allocations: 1.344 kB / 0.8216 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002016/0.5505, allocations: 175 kB / 0.8218 GB, free: 13.81 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.729e-05/0.5505, allocations: 35.2 kB / 0.8218 GB, free: 13.78 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.5505, allocations: 3.625 kB / 0.8218 GB, free: 13.78 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.418e-05/0.5505, allocations: 4 kB / 0.8218 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.949e-05/0.5506, allocations: 0.7969 kB / 0.8218 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.027e-06/0.5506, allocations: 7.219 kB / 0.8218 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001555/0.5507, allocations: 28.19 kB / 0.8219 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.757e-05/0.5507, allocations: 10.98 kB / 0.8219 GB, free: 13.76 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 (booPul.y,$PRE.booPul.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * 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.713e-05/0.5508, allocations: 112.9 kB / 0.822 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.042e-05/0.5508, allocations: 6.359 kB / 0.822 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.099e-05/0.5509, allocations: 11.05 kB / 0.822 GB, free: 13.63 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.514e-06/0.5509, allocations: 4 kB / 0.822 GB, free: 13.63 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.283e-06/0.5509, allocations: 4.797 kB / 0.822 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.5509, allocations: 0 / 0.822 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.906e-05/0.551, allocations: 134.6 kB / 0.8221 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/0.551, allocations: 6.891 kB / 0.8222 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.32e-06/0.551, allocations: 0.6562 kB / 0.8222 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.551, allocations: 0 / 0.8222 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.233e-06/0.551, allocations: 0.6094 kB / 0.8222 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.551, allocations: 3.938 kB / 0.8222 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.551, allocations: 2.953 kB / 0.8222 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.733e-05/0.5511, allocations: 84.08 kB / 0.8222 GB, free: 13.38 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 8.215e-06/0.5511, allocations: 9.719 kB / 0.8223 GB, free: 13.37 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.197e-05/0.5511, allocations: 2.703 kB / 0.8223 GB, free: 13.37 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.448e-05/0.5511, allocations: 0.6094 kB / 0.8223 GB, free: 13.37 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.136e-05/0.5512, allocations: 5.047 kB / 0.8223 GB, free: 13.37 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.698e-06/0.5512, allocations: 0 / 0.8223 GB, free: 13.37 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.052e-05/0.5512, allocations: 84.23 kB / 0.8223 GB, free: 13.29 MB / 0.6198 GB Notification: Performance of sort global known variables: time 9e-08/0.5512, allocations: 0 / 0.8223 GB, free: 13.29 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001627/0.5514, allocations: 20.39 kB / 0.8224 GB, free: 13.29 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: 3 ($whenCondition1,$whenCondition2,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0003581/0.5517, allocations: 0.615 MB / 0.823 GB, free: 12.68 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001947/0.5519, allocations: 139.2 kB / 0.8231 GB, free: 12.56 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.5519, allocations: 0 / 0.8231 GB, free: 12.56 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 2.454e-05/0.5519, allocations: 12.09 kB / 0.8231 GB, free: 12.56 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001842/0.5521, allocations: 5.766 kB / 0.8231 GB, free: 12.56 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001377/0.5535, allocations: 1.482 MB / 0.8246 GB, free: 11.17 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.029e-05/0.5535, allocations: 62.47 kB / 0.8246 GB, free: 11.1 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.256e-05/0.5536, allocations: 2.078 kB / 0.8246 GB, free: 11.1 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.614e-05/0.5536, allocations: 15.27 kB / 0.8246 GB, free: 11.09 MB / 0.6198 GB Notification: Performance of SimCode: time 4.81e-07/0.5536, allocations: 0 / 0.8246 GB, free: 11.09 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01745/0.5711, allocations: 2.55 MB / 0.8271 GB, free: 10.17 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.549/7.12, allocations: 5.688 kB / 0.8271 GB, free: 10.17 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Not.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Not.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Not.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Not.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Not_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_Not.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Not.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.166592850815505] Failed to read output from testmodel.py, exit status != 0: 7.200837371405214 7.213675877 6.663096303 Calling exit ...