Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.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.001112/0.001112, allocations: 109.9 kB / 18.93 MB, free: 1.27 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.001087/0.001087, allocations: 214.3 kB / 22.25 MB, free: 3.711 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.9727/0.9727, allocations: 230.6 MB / 256 MB, free: 9.805 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.8197/0.8197, 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.Routing.Validation.IntegerExtractSignal,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Routing_Validation_IntegerExtractSignal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Routing_Validation_IntegerExtractSignal",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.001097/0.001097, allocations: 64.16 kB / 0.7182 GB, free: 4.328 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5409/0.542, allocations: 102 MB / 0.8179 GB, free: 1.242 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal): time 0.00166/0.5437, allocations: 0.8746 MB / 0.8187 GB, free: 0.6797 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001442/0.5451, allocations: 1.34 MB / 0.82 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.941e-05/0.5452, allocations: 10 kB / 0.82 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001282/0.5453, allocations: 15.23 kB / 0.82 GB, free: 15.69 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.000224/0.5455, allocations: 30.3 kB / 0.8201 GB, free: 15.67 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006675/0.5462, allocations: 271.5 kB / 0.8203 GB, free: 15.53 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003293/0.5465, allocations: 327.2 kB / 0.8206 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001513/0.5467, allocations: 43.39 kB / 0.8207 GB, free: 15.35 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000152/0.5468, allocations: 141.7 kB / 0.8208 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001819/0.547, allocations: 105.8 kB / 0.8209 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.093e-05/0.547, allocations: 30.03 kB / 0.8209 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001064/0.5472, allocations: 51.77 kB / 0.821 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 7.313e-05/0.5472, allocations: 47.39 kB / 0.821 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001227/0.5473, allocations: 118.8 kB / 0.8212 GB, free: 15.13 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0004364/0.5478, allocations: 354.5 kB / 0.8215 GB, free: 15 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.551e-06/0.5478, allocations: 0 / 0.8215 GB, free: 15 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.164e-06/0.5478, allocations: 0 / 0.8215 GB, free: 15 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.005e-06/0.5478, allocations: 0 / 0.8215 GB, free: 15 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: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0006427/0.5484, allocations: 494.5 kB / 0.822 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.683e-05/0.5485, allocations: 10.19 kB / 0.822 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.954e-05/0.5485, allocations: 49.64 kB / 0.822 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002846/0.5488, allocations: 59.48 kB / 0.8221 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004567/0.5493, allocations: 230.7 kB / 0.8223 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.546e-05/0.5493, allocations: 13.97 kB / 0.8223 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.473e-05/0.5493, allocations: 19.8 kB / 0.8223 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002023/0.5495, allocations: 157.9 kB / 0.8225 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.706e-06/0.5495, allocations: 0 / 0.8225 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.183e-05/0.5496, allocations: 3.688 kB / 0.8225 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.252e-06/0.5496, allocations: 6.344 kB / 0.8225 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.975e-05/0.5497, allocations: 73.31 kB / 0.8226 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006538/0.5503, allocations: 0.7095 MB / 0.8233 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 8.096e-05/0.5504, allocations: 57.22 kB / 0.8233 GB, free: 13.53 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.174e-05/0.5504, allocations: 27.05 kB / 0.8233 GB, free: 13.51 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.063e-05/0.5504, allocations: 0 / 0.8233 GB, free: 13.51 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002122/0.5506, allocations: 109.5 kB / 0.8234 GB, free: 13.42 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=8): time 7.62e-07/0.5506, allocations: 0 / 0.8234 GB, free: 13.42 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8): time 0.0002583/0.5509, allocations: 125.9 kB / 0.8236 GB, free: 13.36 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.466e-05/0.5509, allocations: 83 kB / 0.8236 GB, free: 13.26 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001739/0.5511, allocations: 215 kB / 0.8238 GB, free: 13.12 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.779e-05/0.5511, allocations: 34.88 kB / 0.8239 GB, free: 13.08 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 9.489e-05/0.5512, allocations: 144.3 kB / 0.824 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.412e-05/0.5513, allocations: 16.42 kB / 0.824 GB, free: 12.95 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.529e-05/0.5513, allocations: 65.19 kB / 0.8241 GB, free: 12.91 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.673e-05/0.5514, allocations: 331.4 kB / 0.8244 GB, free: 12.59 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001201/0.5516, allocations: 63.09 kB / 0.8245 GB, free: 12.57 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001346/0.5517, allocations: 136 kB / 0.8246 GB, free: 12.46 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001801/0.5519, allocations: 189.4 kB / 0.8248 GB, free: 12.29 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.5519, allocations: 1.312 kB / 0.8248 GB, free: 12.29 MB / 0.6198 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003544/0.5522, allocations: 308 kB / 0.8251 GB, free: 12.11 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.908e-05/0.5523, allocations: 71.2 kB / 0.8251 GB, free: 12.04 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.5523, allocations: 2.141 kB / 0.8251 GB, free: 12.04 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.445e-05/0.5523, allocations: 3.031 kB / 0.8251 GB, free: 12.04 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.884e-05/0.5524, allocations: 13.45 kB / 0.8252 GB, free: 12.04 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.715e-06/0.5524, allocations: 3.156 kB / 0.8252 GB, free: 12.04 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002017/0.5526, allocations: 56.16 kB / 0.8252 GB, free: 12.03 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.464e-05/0.5526, allocations: 16.8 kB / 0.8252 GB, free: 12.02 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition3,$whenCondition4,intPul.booPul.y,$PRE.intPul.booPul.y,extIntSig1.y[4],$whenCondition1,$whenCondition2,intPul1.booPul.y,$PRE.intPul1.booPul.y,extIntSig1.y[5],conInt3.y,conInt2.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 10 * 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.0004082/0.553, allocations: 147.4 kB / 0.8254 GB, free: 11.89 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.146e-05/0.553, allocations: 19.09 kB / 0.8254 GB, free: 11.88 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.783e-05/0.5531, allocations: 16.09 kB / 0.8254 GB, free: 11.87 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.5531, allocations: 1.312 kB / 0.8254 GB, free: 11.87 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.169e-06/0.5531, allocations: 2.016 kB / 0.8254 GB, free: 11.87 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.5531, allocations: 0 / 0.8254 GB, free: 11.87 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001911/0.5533, allocations: 204.8 kB / 0.8256 GB, free: 11.69 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.5533, allocations: 4.5 kB / 0.8256 GB, free: 11.68 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.982e-05/0.5533, allocations: 13.89 kB / 0.8256 GB, free: 11.68 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.048e-06/0.5533, allocations: 0.6094 kB / 0.8256 GB, free: 11.68 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.357e-06/0.5533, allocations: 2.969 kB / 0.8256 GB, free: 11.68 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.5533, allocations: 0 / 0.8256 GB, free: 11.68 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.5533, allocations: 1.812 kB / 0.8256 GB, free: 11.68 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001507/0.5535, allocations: 133.5 kB / 0.8258 GB, free: 11.57 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.904e-05/0.5535, allocations: 16.97 kB / 0.8258 GB, free: 11.56 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.597e-05/0.5535, allocations: 7.141 kB / 0.8258 GB, free: 11.56 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.2e-05/0.5535, allocations: 1.031 kB / 0.8258 GB, free: 11.56 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.741e-05/0.5536, allocations: 11.44 kB / 0.8258 GB, free: 11.55 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.057e-06/0.5536, allocations: 7.219 kB / 0.8258 GB, free: 11.55 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 9.538e-05/0.5537, allocations: 146.4 kB / 0.8259 GB, free: 11.46 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5.1e-08/0.5537, allocations: 0 / 0.8259 GB, free: 11.46 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002037/0.5539, allocations: 47.42 kB / 0.826 GB, free: 11.45 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition3,$whenCondition4,extIntSig1.y[4],intPul.booPul.y,$whenCondition1,$whenCondition2,extIntSig1.y[5],intPul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * 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.0003799/0.5542, allocations: 0.6777 MB / 0.8266 GB, free: 10.8 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002914/0.5545, allocations: 235.2 kB / 0.8269 GB, free: 10.64 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.5545, allocations: 0 / 0.8269 GB, free: 10.64 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 4.11e-05/0.5546, allocations: 33.05 kB / 0.8269 GB, free: 10.62 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002396/0.5548, allocations: 44.78 kB / 0.8269 GB, free: 10.6 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001968/0.5568, allocations: 2.187 MB / 0.8291 GB, free: 8.934 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002243/0.557, allocations: 0.7231 MB / 0.8298 GB, free: 8.238 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 6.5e-05/0.5571, allocations: 23.95 kB / 0.8298 GB, free: 8.23 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.44e-05/0.5571, allocations: 56.89 kB / 0.8299 GB, free: 8.188 MB / 0.6198 GB Notification: Performance of SimCode: time 5.21e-07/0.5571, allocations: 1.031 kB / 0.8299 GB, free: 8.188 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02146/0.5786, allocations: 4.41 MB / 0.8342 GB, free: 7.562 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.738/7.316, allocations: 1.5 kB / 0.8342 GB, free: 7.562 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_dev_IDEAS_Controls_OBC_CDL_Routing_Validation_IntegerExtractSignal.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.414765783119947] Failed to read output from testmodel.py, exit status != 0: 7.395435260143131 7.408083569 6.858328955 Calling exit ...