Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.001074/0.001074, 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.001092/0.001092, 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 1.013/1.013, 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.7998/0.7998, allocations: 203.5 MB / 0.5039 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 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.IntegerExtractSignal,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Routing_Validation_IntegerExtractSignal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal,fileNamePrefix="IDEAS_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.0009965/0.0009965, allocations: 71.55 kB / 0.7178 GB, free: 4.402 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5265/0.5275, allocations: 102 MB / 0.8174 GB, free: 1.238 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal): time 0.001519/0.5291, allocations: 0.8381 MB / 0.8182 GB, free: 0.7109 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001334/0.5304, allocations: 1.324 MB / 0.8195 GB, free: 15.76 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.074e-05/0.5305, allocations: 4.844 kB / 0.8195 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001151/0.5306, allocations: 21.61 kB / 0.8195 GB, free: 15.74 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.57e-05/0.5306, allocations: 28.41 kB / 0.8195 GB, free: 15.72 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000661/0.5313, allocations: 273.9 kB / 0.8198 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003532/0.5317, allocations: 326.2 kB / 0.8201 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001402/0.5318, allocations: 39.78 kB / 0.8201 GB, free: 15.4 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001714/0.532, allocations: 135.9 kB / 0.8203 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001728/0.5321, allocations: 94.16 kB / 0.8204 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.869e-05/0.5322, allocations: 32.69 kB / 0.8204 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001172/0.5323, allocations: 46.61 kB / 0.8204 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 8.733e-05/0.5324, allocations: 49.92 kB / 0.8205 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001113/0.5325, allocations: 101.8 kB / 0.8206 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0004612/0.533, allocations: 347.7 kB / 0.8209 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/0.533, allocations: 0.5625 kB / 0.8209 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.805e-06/0.533, allocations: 0 / 0.8209 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.356e-06/0.533, allocations: 0 / 0.8209 GB, free: 15.09 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.0007147/0.5337, allocations: 494.8 kB / 0.8214 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.98e-05/0.5338, allocations: 10.36 kB / 0.8214 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.68e-05/0.5338, allocations: 46.31 kB / 0.8214 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003214/0.5341, allocations: 60.56 kB / 0.8215 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005025/0.5346, allocations: 233.2 kB / 0.8217 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.552e-05/0.5346, allocations: 13.77 kB / 0.8217 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.096e-05/0.5347, allocations: 19.56 kB / 0.8218 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002126/0.5349, allocations: 150.5 kB / 0.8219 GB, free: 14.31 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.887e-06/0.5349, allocations: 4 kB / 0.8219 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.37e-05/0.5349, allocations: 5.344 kB / 0.8219 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.585e-06/0.5349, allocations: 8 kB / 0.8219 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.892e-05/0.535, allocations: 66.94 kB / 0.822 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006762/0.5357, allocations: 0.6776 MB / 0.8226 GB, free: 13.69 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 9.223e-05/0.5358, allocations: 57.23 kB / 0.8227 GB, free: 13.63 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.245e-05/0.5358, allocations: 20.72 kB / 0.8227 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.151e-05/0.5358, allocations: 1.312 kB / 0.8227 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002324/0.5361, allocations: 106.3 kB / 0.8228 GB, free: 13.53 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=8): time 1.172e-06/0.5361, allocations: 0 / 0.8228 GB, free: 13.53 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8): time 0.0002962/0.5364, allocations: 133.5 kB / 0.8229 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.307e-05/0.5364, allocations: 79.8 kB / 0.823 GB, free: 13.37 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001888/0.5366, allocations: 211.9 kB / 0.8232 GB, free: 13.23 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.201e-05/0.5366, allocations: 34.11 kB / 0.8233 GB, free: 13.19 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001095/0.5367, allocations: 148.5 kB / 0.8234 GB, free: 13.06 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.46e-05/0.5368, allocations: 11.59 kB / 0.8234 GB, free: 13.05 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001033/0.5369, allocations: 70.3 kB / 0.8235 GB, free: 13.02 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001105/0.537, allocations: 332.6 kB / 0.8238 GB, free: 12.7 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001737/0.5371, allocations: 131.6 kB / 0.8239 GB, free: 12.6 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001952/0.5373, allocations: 252.6 kB / 0.8242 GB, free: 12.36 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002047/0.5375, allocations: 187.2 kB / 0.8243 GB, free: 12.2 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/0.5375, allocations: 1.406 kB / 0.8243 GB, free: 12.2 MB / 0.6198 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004217/0.538, allocations: 367.4 kB / 0.8247 GB, free: 11.95 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 5.922e-05/0.538, allocations: 63.39 kB / 0.8247 GB, free: 11.89 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.336e-06/0.538, allocations: 3.344 kB / 0.8248 GB, free: 11.89 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.973e-05/0.5381, allocations: 2.625 kB / 0.8248 GB, free: 11.89 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.871e-05/0.5381, allocations: 13.36 kB / 0.8248 GB, free: 11.88 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.087e-06/0.5381, allocations: 3.344 kB / 0.8248 GB, free: 11.88 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002149/0.5383, allocations: 64.23 kB / 0.8248 GB, free: 11.87 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.377e-05/0.5384, allocations: 14.02 kB / 0.8248 GB, free: 11.87 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.000121/0.5385, allocations: 146.3 kB / 0.825 GB, free: 11.74 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.796e-05/0.5385, allocations: 15.75 kB / 0.825 GB, free: 11.73 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.089e-05/0.5385, allocations: 20.59 kB / 0.825 GB, free: 11.71 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.5385, allocations: 1.062 kB / 0.825 GB, free: 11.71 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.5386, allocations: 1.094 kB / 0.825 GB, free: 11.71 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.5386, allocations: 0.7969 kB / 0.825 GB, free: 11.71 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001545/0.5387, allocations: 211.8 kB / 0.8252 GB, free: 11.52 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.5387, allocations: 0 / 0.8252 GB, free: 11.52 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.176e-05/0.5387, allocations: 13.25 kB / 0.8252 GB, free: 11.51 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.5387, allocations: 1.656 kB / 0.8252 GB, free: 11.51 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.935e-06/0.5387, allocations: 1.781 kB / 0.8252 GB, free: 11.51 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.415e-06/0.5388, allocations: 5.578 kB / 0.8252 GB, free: 11.51 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.5388, allocations: 1.312 kB / 0.8252 GB, free: 11.51 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001435/0.5389, allocations: 135.5 kB / 0.8254 GB, free: 11.41 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.112e-05/0.5389, allocations: 17.23 kB / 0.8254 GB, free: 11.39 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.565e-05/0.5389, allocations: 3.203 kB / 0.8254 GB, free: 11.39 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.129e-05/0.539, allocations: 4.75 kB / 0.8254 GB, free: 11.39 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.155e-05/0.539, allocations: 14.89 kB / 0.8254 GB, free: 11.38 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.743e-06/0.539, allocations: 7.531 kB / 0.8254 GB, free: 11.38 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001041/0.5391, allocations: 150 kB / 0.8256 GB, free: 11.28 MB / 0.6198 GB Notification: Performance of sort global known variables: time 8e-08/0.5391, allocations: 0 / 0.8256 GB, free: 11.28 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002188/0.5393, allocations: 40.48 kB / 0.8256 GB, free: 11.28 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.0004955/0.5398, allocations: 0.6798 MB / 0.8263 GB, free: 10.64 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003892/0.5402, allocations: 297.5 kB / 0.8266 GB, free: 10.4 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.5402, allocations: 5.406 kB / 0.8266 GB, free: 10.39 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 4.977e-05/0.5403, allocations: 27.34 kB / 0.8266 GB, free: 10.39 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002632/0.5405, allocations: 38.45 kB / 0.8266 GB, free: 10.38 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002361/0.5429, allocations: 2.43 MB / 0.829 GB, free: 8.445 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001158/0.543, allocations: 121.2 kB / 0.8291 GB, free: 8.363 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 7.941e-05/0.5431, allocations: 19.52 kB / 0.8291 GB, free: 8.363 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.304e-05/0.5431, allocations: 52.42 kB / 0.8292 GB, free: 8.324 MB / 0.6198 GB Notification: Performance of SimCode: time 8.71e-07/0.5431, allocations: 5.469 kB / 0.8292 GB, free: 8.32 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02112/0.5643, allocations: 5.068 MB / 0.8341 GB, free: 7.172 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.547/7.111, allocations: 5.844 kB / 0.8341 GB, free: 7.172 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.sim & python3 -m fmpy simulate --output-file IDEAS_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_IDEAS_Controls_OBC_CDL_Routing_Validation_IntegerExtractSignal.fmu > IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.236714315135032] Failed to read output from testmodel.py, exit status != 0: 7.1917384481057525 7.20410855 6.668697854 Calling exit ...