Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.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.001809/0.001809, allocations: 101.3 kB / 19.73 MB, free: 2.133 MB / 14.72 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.002222/0.002222, allocations: 217.8 kB / 23.03 MB, free: 4.945 MB / 14.72 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.512/1.512, allocations: 230.6 MB / 256.8 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.84/2.84, allocations: 476.8 MB / 0.7715 GB, free: 3.859 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/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(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractSignal",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractSignal",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings 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.003221/0.003221, allocations: 65.66 kB / 1.118 GB, free: 39.66 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4099/0.4131, allocations: 170 MB / 1.284 GB, free: 10.56 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal): time 0.002667/0.4158, allocations: 0.8477 MB / 1.285 GB, free: 9.715 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002554/0.4184, allocations: 1.301 MB / 1.286 GB, free: 8.402 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001569/0.4185, allocations: 7.938 kB / 1.286 GB, free: 8.395 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001816/0.4187, allocations: 19.8 kB / 1.286 GB, free: 8.375 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001536/0.4188, allocations: 35.72 kB / 1.286 GB, free: 8.34 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001079/0.4199, allocations: 269.9 kB / 1.287 GB, free: 8.082 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0006667/0.4206, allocations: 331.4 kB / 1.287 GB, free: 7.758 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002277/0.4208, allocations: 37.66 kB / 1.287 GB, free: 7.719 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000333/0.4212, allocations: 131.7 kB / 1.287 GB, free: 7.59 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002636/0.4214, allocations: 107.7 kB / 1.287 GB, free: 7.484 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 8.386e-05/0.4215, allocations: 32 kB / 1.287 GB, free: 7.453 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000142/0.4216, allocations: 39.98 kB / 1.287 GB, free: 7.414 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 9.587e-05/0.4217, allocations: 51.78 kB / 1.287 GB, free: 7.363 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001743/0.4219, allocations: 107.6 kB / 1.287 GB, free: 7.258 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0004882/0.4224, allocations: 352 kB / 1.288 GB, free: 6.918 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.4224, allocations: 0 / 1.288 GB, free: 6.918 MB / 0.9825 GB Notification: Performance of FrontEnd: time 4.348e-06/0.4224, allocations: 4 kB / 1.288 GB, free: 6.914 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.184e-05/0.4224, allocations: 0 / 1.288 GB, free: 6.914 MB / 0.9825 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.0009211/0.4233, allocations: 488.6 kB / 1.288 GB, free: 6.391 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.76e-05/0.4234, allocations: 11.97 kB / 1.288 GB, free: 6.379 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.73e-05/0.4234, allocations: 4.188 kB / 1.288 GB, free: 6.375 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.875e-05/0.4235, allocations: 46.73 kB / 1.288 GB, free: 6.32 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000404/0.4239, allocations: 56.77 kB / 1.288 GB, free: 6.266 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006629/0.4245, allocations: 246.2 kB / 1.288 GB, free: 6 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.208e-05/0.4246, allocations: 16.38 kB / 1.288 GB, free: 5.984 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.789e-05/0.4246, allocations: 16.38 kB / 1.288 GB, free: 5.969 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000298/0.4249, allocations: 146.5 kB / 1.289 GB, free: 5.809 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.233e-05/0.4249, allocations: 0 / 1.289 GB, free: 5.809 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.898e-05/0.4249, allocations: 11.94 kB / 1.289 GB, free: 5.797 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.099e-05/0.4249, allocations: 0 / 1.289 GB, free: 5.797 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001424/0.4251, allocations: 71.89 kB / 1.289 GB, free: 5.727 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008936/0.426, allocations: 0.672 MB / 1.289 GB, free: 5 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001074/0.4261, allocations: 61.08 kB / 1.289 GB, free: 4.922 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.507e-05/0.4261, allocations: 25.77 kB / 1.289 GB, free: 4.891 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.507e-05/0.4261, allocations: 4 kB / 1.289 GB, free: 4.887 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000268/0.4264, allocations: 93.03 kB / 1.29 GB, free: 4.777 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=8): time 1.232e-06/0.4264, allocations: 0 / 1.29 GB, free: 4.777 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8): time 0.0003252/0.4267, allocations: 133.5 kB / 1.29 GB, free: 4.641 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.948e-05/0.4268, allocations: 89.09 kB / 1.29 GB, free: 4.535 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002389/0.427, allocations: 211.7 kB / 1.29 GB, free: 4.316 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.272e-05/0.4271, allocations: 33.7 kB / 1.29 GB, free: 4.277 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001221/0.4272, allocations: 144.3 kB / 1.29 GB, free: 4.133 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.373e-05/0.4272, allocations: 19.83 kB / 1.29 GB, free: 4.113 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001202/0.4274, allocations: 61.69 kB / 1.29 GB, free: 4.047 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001495/0.4275, allocations: 330.8 kB / 1.291 GB, free: 3.715 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000196/0.4277, allocations: 127.4 kB / 1.291 GB, free: 3.578 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002756/0.428, allocations: 255.2 kB / 1.291 GB, free: 3.273 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002523/0.4282, allocations: 198.2 kB / 1.291 GB, free: 3.043 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.4282, allocations: 0 / 1.291 GB, free: 3.043 MB / 0.9825 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005854/0.4288, allocations: 364.1 kB / 1.291 GB, free: 2.656 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 6.24e-05/0.4289, allocations: 63.39 kB / 1.291 GB, free: 2.582 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.416e-06/0.4289, allocations: 4 kB / 1.291 GB, free: 2.578 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.813e-05/0.4289, allocations: 8.188 kB / 1.291 GB, free: 2.57 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.142e-05/0.429, allocations: 11.92 kB / 1.292 GB, free: 2.559 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.109e-05/0.429, allocations: 4 kB / 1.292 GB, free: 2.555 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003454/0.4293, allocations: 55.89 kB / 1.292 GB, free: 2.5 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.422e-05/0.4294, allocations: 12 kB / 1.292 GB, free: 2.488 MB / 0.9825 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.0001793/0.4295, allocations: 163.4 kB / 1.292 GB, free: 2.32 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.771e-05/0.4296, allocations: 15.91 kB / 1.292 GB, free: 2.305 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.664e-05/0.4296, allocations: 17.03 kB / 1.292 GB, free: 2.285 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.896e-06/0.4296, allocations: 0 / 1.292 GB, free: 2.285 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.043e-06/0.4296, allocations: 4 kB / 1.292 GB, free: 2.281 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.545e-06/0.4296, allocations: 3.984 kB / 1.292 GB, free: 2.277 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002068/0.4298, allocations: 200.5 kB / 1.292 GB, free: 2.039 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.4298, allocations: 3.938 kB / 1.292 GB, free: 2.035 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.609e-05/0.4299, allocations: 4 kB / 1.292 GB, free: 2.031 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.4299, allocations: 0 / 1.292 GB, free: 2.031 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.379e-05/0.4299, allocations: 7.984 kB / 1.292 GB, free: 2.023 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.4299, allocations: 4 kB / 1.292 GB, free: 2.02 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.4299, allocations: 0 / 1.292 GB, free: 2.02 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002085/0.4301, allocations: 137.8 kB / 1.292 GB, free: 1.863 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.672e-05/0.4301, allocations: 15.91 kB / 1.292 GB, free: 1.848 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.194e-05/0.4302, allocations: 0 / 1.292 GB, free: 1.848 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.745e-05/0.4302, allocations: 7.984 kB / 1.292 GB, free: 1.84 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.651e-05/0.4302, allocations: 11.94 kB / 1.292 GB, free: 1.828 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.006e-05/0.4302, allocations: 7.984 kB / 1.292 GB, free: 1.82 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001352/0.4304, allocations: 145.5 kB / 1.292 GB, free: 1.68 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.4304, allocations: 0 / 1.292 GB, free: 1.68 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002767/0.4306, allocations: 43.89 kB / 1.292 GB, free: 1.637 MB / 0.9825 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.00055/0.4312, allocations: 0.6757 MB / 1.293 GB, free: 0.9258 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004406/0.4316, allocations: 302.1 kB / 1.293 GB, free: 0.5938 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/0.4316, allocations: 4 kB / 1.293 GB, free: 0.5898 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 6.228e-05/0.4317, allocations: 28.58 kB / 1.293 GB, free: 0.5625 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003115/0.432, allocations: 36.3 kB / 1.293 GB, free: 0.5273 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003175/0.4352, allocations: 2.443 MB / 1.296 GB, free: 13.89 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001483/0.4353, allocations: 115.6 kB / 1.296 GB, free: 13.76 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 8.921e-05/0.4354, allocations: 29.41 kB / 1.296 GB, free: 13.73 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.219e-05/0.4355, allocations: 51.42 kB / 1.296 GB, free: 13.68 MB / 0.9981 GB Notification: Performance of SimCode: time 8.41e-07/0.4355, allocations: 0 / 1.296 GB, free: 13.68 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02702/0.4625, allocations: 4.683 MB / 1.3 GB, free: 9.25 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.63/12.1, allocations: 7.141 kB / 1.301 GB, free: 9.246 MB / 0.9981 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractSignal_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractSignal.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 18.923077914048918] Failed to read output from testmodel.py, exit status != 0: 12.80658117600251 12.278153164 11.85241567 Calling exit ...