Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.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.001406/0.001406, allocations: 116.8 kB / 17.16 MB, free: 5.895 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.001644/0.001644, allocations: 212 kB / 20.13 MB, free: 2.949 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.565/1.565, allocations: 230.6 MB / 253.5 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.089/3.089, allocations: 0.49 GB / 0.7923 GB, free: 1.312 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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.Integers.Validation.Multiply,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Integers_Validation_Multiply",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Multiply,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Integers_Validation_Multiply",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.00329/0.00329, allocations: 68.17 kB / 1.15 GB, free: 15.43 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.077/1.081, allocations: 176.1 MB / 1.321 GB, free: 24.76 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Multiply): time 0.00293/1.084, allocations: 2.035 MB / 1.323 GB, free: 23.33 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001832/1.085, allocations: 1.359 MB / 1.325 GB, free: 22.41 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001166/1.086, allocations: 6.656 kB / 1.325 GB, free: 22.4 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0004255/1.086, allocations: 168.2 kB / 1.325 GB, free: 22.35 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0003907/1.086, allocations: 199.5 kB / 1.325 GB, free: 22.26 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002992/1.087, allocations: 166 kB / 1.325 GB, free: 22.17 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002955/1.087, allocations: 330.4 kB / 1.326 GB, free: 22.02 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001431/1.087, allocations: 39.59 kB / 1.326 GB, free: 22 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001795/1.087, allocations: 160 kB / 1.326 GB, free: 21.94 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001594/1.087, allocations: 169.9 kB / 1.326 GB, free: 21.87 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.901e-05/1.087, allocations: 13.84 kB / 1.326 GB, free: 21.87 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001293/1.088, allocations: 58.52 kB / 1.326 GB, free: 21.86 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 8.839e-05/1.088, allocations: 95.52 kB / 1.326 GB, free: 21.82 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 9.262e-05/1.088, allocations: 127.1 kB / 1.326 GB, free: 21.72 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0003593/1.088, allocations: 384.2 kB / 1.327 GB, free: 21.57 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/1.088, allocations: 2.531 kB / 1.327 GB, free: 21.57 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.192e-06/1.088, allocations: 0 / 1.327 GB, free: 21.57 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.883e-06/1.088, allocations: 0 / 1.327 GB, free: 21.57 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0008983/1.089, allocations: 0.6496 MB / 1.327 GB, free: 21.01 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.517e-05/1.089, allocations: 14.02 kB / 1.327 GB, free: 21.01 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.819e-05/1.089, allocations: 1.969 kB / 1.327 GB, free: 21.01 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.068e-05/1.089, allocations: 37.72 kB / 1.327 GB, free: 20.96 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.839e-05/1.089, allocations: 36.45 kB / 1.327 GB, free: 20.95 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004887/1.09, allocations: 389.2 kB / 1.328 GB, free: 20.65 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.164e-05/1.09, allocations: 3.969 kB / 1.328 GB, free: 20.65 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.258e-05/1.09, allocations: 9.531 kB / 1.328 GB, free: 20.64 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002449/1.09, allocations: 115.1 kB / 1.328 GB, free: 20.58 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.989e-06/1.09, allocations: 0.5312 kB / 1.328 GB, free: 20.58 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.596e-05/1.09, allocations: 5.562 kB / 1.328 GB, free: 20.58 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-06/1.09, allocations: 1.156 kB / 1.328 GB, free: 20.58 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001803/1.09, allocations: 61.28 kB / 1.328 GB, free: 20.56 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007269/1.091, allocations: 0.4909 MB / 1.328 GB, free: 20.2 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003624/1.091, allocations: 139.8 kB / 1.329 GB, free: 20.13 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001199/1.091, allocations: 44.91 kB / 1.329 GB, free: 20.11 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.13e-05/1.091, allocations: 1.906 kB / 1.329 GB, free: 20.11 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002376/1.092, allocations: 117.3 kB / 1.329 GB, free: 20.04 MB / 1.061 GB Notification: Performance of pre-optimization done (n=13): time 1.533e-06/1.092, allocations: 1.031 kB / 1.329 GB, free: 20.04 MB / 1.061 GB Notification: Performance of matching and sorting (n=13): time 0.000562/1.092, allocations: 227.5 kB / 1.329 GB, free: 19.93 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.009e-05/1.092, allocations: 55.94 kB / 1.329 GB, free: 19.87 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006268/1.093, allocations: 0.5225 MB / 1.329 GB, free: 19.64 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.912e-05/1.093, allocations: 34.66 kB / 1.329 GB, free: 19.6 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001043/1.093, allocations: 172.1 kB / 1.33 GB, free: 19.45 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.469e-05/1.093, allocations: 36.86 kB / 1.33 GB, free: 19.43 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001128/1.093, allocations: 73.23 kB / 1.33 GB, free: 19.38 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001023/1.093, allocations: 351.5 kB / 1.33 GB, free: 19.05 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002256/1.093, allocations: 99.84 kB / 1.33 GB, free: 19.02 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000249/1.094, allocations: 136.9 kB / 1.33 GB, free: 18.96 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003387/1.094, allocations: 191.1 kB / 1.331 GB, free: 18.86 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/1.094, allocations: 0 / 1.331 GB, free: 18.86 MB / 1.061 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005838/1.095, allocations: 333.7 kB / 1.331 GB, free: 18.72 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.755e-05/1.095, allocations: 5.625 kB / 1.331 GB, free: 18.72 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/1.095, allocations: 0 / 1.331 GB, free: 18.72 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.119e-05/1.095, allocations: 2.906 kB / 1.331 GB, free: 18.72 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002433/1.095, allocations: 50.39 kB / 1.331 GB, free: 18.72 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.106e-06/1.095, allocations: 2.531 kB / 1.331 GB, free: 18.72 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001438/1.095, allocations: 23.81 kB / 1.331 GB, free: 18.7 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.7e-05/1.095, allocations: 14.86 kB / 1.331 GB, free: 18.7 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 13 ($PRE.timTabLin1.tab.nextTimeEvent,$whenCondition2,$PRE.timTabLin.tab.nextTimeEvent,$whenCondition1,timTabLin1.tab.nextTimeEventScaled,$PRE.timTabLin1.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent,reaToInt2.y,reaToInt1.y,product.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * 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.0001568/1.095, allocations: 183.6 kB / 1.331 GB, free: 18.55 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.723e-05/1.095, allocations: 40.42 kB / 1.331 GB, free: 18.53 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.161e-05/1.095, allocations: 35.17 kB / 1.331 GB, free: 18.52 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.467e-06/1.095, allocations: 1.156 kB / 1.331 GB, free: 18.52 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/1.095, allocations: 0.75 kB / 1.331 GB, free: 18.52 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/1.095, allocations: 1.734 kB / 1.331 GB, free: 18.52 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002791/1.096, allocations: 304.8 kB / 1.331 GB, free: 18.27 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/1.096, allocations: 2.188 kB / 1.331 GB, free: 18.27 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.479e-05/1.096, allocations: 16.19 kB / 1.331 GB, free: 18.27 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/1.096, allocations: 1.469 kB / 1.331 GB, free: 18.27 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.651e-05/1.096, allocations: 7.359 kB / 1.331 GB, free: 18.27 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.915e-06/1.096, allocations: 5.062 kB / 1.331 GB, free: 18.26 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/1.096, allocations: 0 / 1.331 GB, free: 18.26 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003785/1.096, allocations: 208.8 kB / 1.332 GB, free: 18.14 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 7.972e-05/1.096, allocations: 120.4 kB / 1.332 GB, free: 18.02 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.831e-05/1.096, allocations: 11.17 kB / 1.332 GB, free: 18.02 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.968e-05/1.096, allocations: 5.406 kB / 1.332 GB, free: 18.02 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.619e-05/1.096, allocations: 20.88 kB / 1.332 GB, free: 18.01 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.697e-05/1.097, allocations: 7.016 kB / 1.332 GB, free: 18.01 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0003573/1.097, allocations: 321.3 kB / 1.332 GB, free: 17.87 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/1.097, allocations: 0 / 1.332 GB, free: 17.87 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003372/1.097, allocations: 62.19 kB / 1.332 GB, free: 17.86 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,$whenCondition1,product.y,reaToInt1.y,reaToInt2.y,timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,timTabLin1.tab.nextTimeEventScaled) * Number of discrete states: 4 (timTabLin1.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent,timTabLin1.tab.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001996/1.099, allocations: 1.078 MB / 1.333 GB, free: 17.08 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004616/1.1, allocations: 189.9 kB / 1.333 GB, free: 17.02 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/1.1, allocations: 0 / 1.333 GB, free: 17.02 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001546/1.1, allocations: 64.41 kB / 1.334 GB, free: 17 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005147/1.1, allocations: 82.19 kB / 1.334 GB, free: 16.98 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00457/1.105, allocations: 3.189 MB / 1.337 GB, free: 15.17 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002979/1.105, allocations: 0.7903 MB / 1.337 GB, free: 14.46 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001863/1.105, allocations: 63.89 kB / 1.338 GB, free: 14.44 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000174/1.106, allocations: 112.4 kB / 1.338 GB, free: 14.37 MB / 1.061 GB Notification: Performance of SimCode: time 1.152e-06/1.106, allocations: 0 / 1.338 GB, free: 14.37 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02699/1.133, allocations: 7.399 MB / 1.345 GB, free: 13.37 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.79/9.922, allocations: 20.72 kB / 1.345 GB, free: 13.35 MB / 1.061 GB " [Timeout remaining time 290] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_CDL_Integers_Validation_Multiply_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_CDL_Integers_Validation_Multiply.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 16.739516418019775] Failed to read output from testmodel.py, exit status != 0: 10.111130266974214 10.122863997 9.032102178 Calling exit ...