Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.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.0009456/0.0009456, 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.0008591/0.0008591, allocations: 209.7 kB / 22.24 MB, free: 3.57 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.9562/0.9562, allocations: 230.6 MB / 256 MB, free: 9.605 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/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 4.0.0/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 4.0.0/package.mo): time 0.772/0.772, allocations: 203.5 MB / 0.5039 GB, free: 10.71 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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.Routing.Validation.RealExtractSignal,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Routing_Validation_RealExtractSignal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Routing.Validation.RealExtractSignal,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Routing_Validation_RealExtractSignal",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.0008944/0.0008944, allocations: 75.75 kB / 0.7178 GB, free: 4.43 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4689/0.4698, allocations: 102 MB / 0.8174 GB, free: 1.242 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.RealExtractSignal): time 0.001615/0.4714, allocations: 0.9548 MB / 0.8183 GB, free: 0.6367 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001323/0.4727, allocations: 1.354 MB / 0.8196 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.712e-05/0.4728, allocations: 2.875 kB / 0.8196 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001156/0.4729, allocations: 23.69 kB / 0.8197 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.921e-05/0.473, allocations: 45.83 kB / 0.8197 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006172/0.4736, allocations: 271 kB / 0.82 GB, free: 15.47 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003371/0.4739, allocations: 390 kB / 0.8203 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001422/0.4741, allocations: 49.27 kB / 0.8204 GB, free: 15.26 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001558/0.4742, allocations: 154.5 kB / 0.8205 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00016/0.4744, allocations: 124 kB / 0.8206 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.839e-05/0.4744, allocations: 34.31 kB / 0.8207 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 9.106e-05/0.4745, allocations: 50.48 kB / 0.8207 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 7.562e-05/0.4746, allocations: 58.19 kB / 0.8208 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001088/0.4747, allocations: 121 kB / 0.8209 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003851/0.4751, allocations: 406.1 kB / 0.8213 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.86e-06/0.4751, allocations: 0 / 0.8213 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.485e-06/0.4751, allocations: 4 kB / 0.8213 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.612e-06/0.4751, allocations: 0 / 0.8213 GB, free: 14.88 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.0007202/0.4758, allocations: 0.5448 MB / 0.8218 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.186e-05/0.4759, allocations: 7.969 kB / 0.8218 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.705e-05/0.4759, allocations: 47.31 kB / 0.8219 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002464/0.4762, allocations: 74.94 kB / 0.8219 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005246/0.4767, allocations: 309 kB / 0.8222 GB, free: 14.17 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.27e-05/0.4767, allocations: 17.34 kB / 0.8222 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.125e-05/0.4767, allocations: 21.5 kB / 0.8223 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002997/0.477, allocations: 209.9 kB / 0.8225 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.867e-06/0.4771, allocations: 4 kB / 0.8225 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.468e-05/0.4771, allocations: 3.672 kB / 0.8225 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.683e-06/0.4771, allocations: 2.594 kB / 0.8225 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002833/0.4774, allocations: 143.6 kB / 0.8226 GB, free: 14 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007971/0.4782, allocations: 0.8271 MB / 0.8234 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002053/0.4784, allocations: 148 kB / 0.8236 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001331/0.4785, allocations: 81.16 kB / 0.8236 GB, free: 13.13 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.394e-05/0.4785, allocations: 5.984 kB / 0.8236 GB, free: 13.13 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003178/0.4788, allocations: 160.2 kB / 0.8238 GB, free: 13.03 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=11): time 1.332e-06/0.4788, allocations: 0 / 0.8238 GB, free: 13.03 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11): time 0.0005331/0.4794, allocations: 261.8 kB / 0.8241 GB, free: 12.94 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.829e-05/0.4794, allocations: 163.5 kB / 0.8242 GB, free: 12.75 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001663/0.4796, allocations: 222.5 kB / 0.8244 GB, free: 12.61 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.891e-05/0.4796, allocations: 35.42 kB / 0.8245 GB, free: 12.57 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 9.238e-05/0.4797, allocations: 153.3 kB / 0.8246 GB, free: 12.45 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.894e-05/0.4797, allocations: 38.34 kB / 0.8246 GB, free: 12.41 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.477e-05/0.4798, allocations: 51.72 kB / 0.8247 GB, free: 12.39 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.263e-05/0.4799, allocations: 338 kB / 0.825 GB, free: 12.06 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002279/0.4801, allocations: 164.7 kB / 0.8252 GB, free: 11.97 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002586/0.4804, allocations: 288.4 kB / 0.8254 GB, free: 11.72 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003314/0.4807, allocations: 274.9 kB / 0.8257 GB, free: 11.53 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.4807, allocations: 2.141 kB / 0.8257 GB, free: 11.53 MB / 0.6198 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0005329/0.4813, allocations: 436.2 kB / 0.8261 GB, free: 11.29 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 5.078e-05/0.4813, allocations: 67.91 kB / 0.8262 GB, free: 11.22 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/0.4813, allocations: 2.781 kB / 0.8262 GB, free: 11.22 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.759e-05/0.4813, allocations: 2.781 kB / 0.8262 GB, free: 11.22 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001053/0.4814, allocations: 29.84 kB / 0.8262 GB, free: 11.21 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.635e-06/0.4814, allocations: 2.797 kB / 0.8262 GB, free: 11.21 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002251/0.4817, allocations: 79.39 kB / 0.8263 GB, free: 11.2 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.304e-05/0.4817, allocations: 14 kB / 0.8263 GB, free: 11.2 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition3,$whenCondition4,pul.booPul.y,$PRE.pul.booPul.y,$whenCondition1,$whenCondition2,pul1.booPul.y,$PRE.pul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 11 * 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 0.0001146/0.4818, allocations: 162.1 kB / 0.8265 GB, free: 11.06 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.12e-05/0.4818, allocations: 22.81 kB / 0.8265 GB, free: 11.05 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.179e-05/0.4819, allocations: 23.48 kB / 0.8265 GB, free: 11.03 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.4819, allocations: 0 / 0.8265 GB, free: 11.03 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.551e-06/0.4819, allocations: 6.156 kB / 0.8265 GB, free: 11.03 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.4819, allocations: 4.625 kB / 0.8265 GB, free: 11.03 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001728/0.4821, allocations: 219.3 kB / 0.8267 GB, free: 10.84 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.4821, allocations: 0 / 0.8267 GB, free: 10.84 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.614e-05/0.4821, allocations: 24.34 kB / 0.8268 GB, free: 10.84 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.4821, allocations: 2.375 kB / 0.8268 GB, free: 10.84 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.02e-05/0.4821, allocations: 3.922 kB / 0.8268 GB, free: 10.84 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.384e-06/0.4821, allocations: 2.781 kB / 0.8268 GB, free: 10.84 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.4821, allocations: 0 / 0.8268 GB, free: 10.84 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003278/0.4825, allocations: 254.7 kB / 0.827 GB, free: 10.68 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.382e-05/0.4825, allocations: 14.89 kB / 0.827 GB, free: 10.68 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.806e-05/0.4825, allocations: 3.5 kB / 0.827 GB, free: 10.68 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.586e-05/0.4826, allocations: 21.27 kB / 0.827 GB, free: 10.67 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.278e-05/0.4826, allocations: 15.55 kB / 0.8271 GB, free: 10.67 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.137e-05/0.4826, allocations: 18.05 kB / 0.8271 GB, free: 10.66 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001005/0.4827, allocations: 161.4 kB / 0.8272 GB, free: 10.55 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.4827, allocations: 3.938 kB / 0.8272 GB, free: 10.55 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002/0.4829, allocations: 49.78 kB / 0.8273 GB, free: 10.54 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition3,$whenCondition4,pul.booPul.y,$whenCondition1,$whenCondition2,pul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 9 * 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.0005821/0.4835, allocations: 0.7868 MB / 0.828 GB, free: 9.863 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0005109/0.484, allocations: 380.5 kB / 0.8284 GB, free: 9.617 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.484, allocations: 448 / 0.8284 GB, free: 9.617 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001611/0.4842, allocations: 78.09 kB / 0.8285 GB, free: 9.598 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002518/0.4844, allocations: 47.86 kB / 0.8285 GB, free: 9.582 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002846/0.4873, allocations: 2.804 MB / 0.8313 GB, free: 7.527 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001482/0.4874, allocations: 142.8 kB / 0.8314 GB, free: 7.441 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001292/0.4876, allocations: 33.81 kB / 0.8314 GB, free: 7.43 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.751e-05/0.4877, allocations: 64.08 kB / 0.8315 GB, free: 7.387 MB / 0.6198 GB Notification: Performance of SimCode: time 8.62e-07/0.4877, allocations: 0.5312 kB / 0.8315 GB, free: 7.387 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02084/0.5085, allocations: 6.084 MB / 0.8374 GB, free: 5.523 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.84/7.348, allocations: 18 kB / 0.8375 GB, free: 5.516 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.RealExtractSignal_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_IDEAS_Controls_OBC_CDL_Routing_Validation_RealExtractSignal.fmu > IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.265371528919786] Failed to read output from testmodel.py, exit status != 0: 7.427861130330712 7.438993247 6.961800759 Calling exit ...