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.001286/0.001286, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.001487/0.001487, allocations: 217.8 kB / 23.03 MB, free: 4.922 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.485/1.485, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.203/3.203, allocations: 0.49 GB / 0.7959 GB, free: 35.51 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.001998/0.001998, allocations: 69.55 kB / 1.155 GB, free: 25.47 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3593/0.3613, allocations: 176.1 MB / 1.327 GB, free: 1.516 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Multiply): time 0.004439/0.3657, allocations: 1.967 MB / 1.329 GB, free: 15.54 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002926/0.3687, allocations: 1.279 MB / 1.33 GB, free: 14.26 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001938/0.3689, allocations: 3.938 kB / 1.33 GB, free: 14.25 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.000523/0.3694, allocations: 167.4 kB / 1.33 GB, free: 14.09 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0006221/0.37, allocations: 207.2 kB / 1.33 GB, free: 13.89 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004409/0.3704, allocations: 171.6 kB / 1.33 GB, free: 13.72 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0005971/0.371, allocations: 335 kB / 1.331 GB, free: 13.39 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001701/0.3712, allocations: 45.03 kB / 1.331 GB, free: 13.34 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002965/0.3715, allocations: 159.3 kB / 1.331 GB, free: 13.18 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002968/0.3718, allocations: 167.3 kB / 1.331 GB, free: 13.02 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.924e-05/0.3719, allocations: 16 kB / 1.331 GB, free: 13 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001659/0.372, allocations: 55.97 kB / 1.331 GB, free: 12.95 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001383/0.3722, allocations: 99.66 kB / 1.331 GB, free: 12.85 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001426/0.3723, allocations: 95.33 kB / 1.331 GB, free: 12.76 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0006216/0.3729, allocations: 394.3 kB / 1.332 GB, free: 12.37 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.3729, allocations: 4 kB / 1.332 GB, free: 12.37 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.342e-06/0.3729, allocations: 0 / 1.332 GB, free: 12.37 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.042e-05/0.3729, allocations: 0 / 1.332 GB, free: 12.37 MB / 1.029 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.001657/0.3746, allocations: 0.5663 MB / 1.332 GB, free: 11.77 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 7.269e-05/0.3747, allocations: 12.03 kB / 1.332 GB, free: 11.76 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.876e-05/0.3747, allocations: 192 / 1.332 GB, free: 11.76 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.58e-05/0.3748, allocations: 38.75 kB / 1.332 GB, free: 11.71 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001736/0.3749, allocations: 36.7 kB / 1.332 GB, free: 11.68 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009346/0.3759, allocations: 328 kB / 1.333 GB, free: 11.34 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.452e-05/0.3759, allocations: 12 kB / 1.333 GB, free: 11.32 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.184e-05/0.3759, allocations: 4 kB / 1.333 GB, free: 11.32 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003469/0.3763, allocations: 111.6 kB / 1.333 GB, free: 11.21 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.557e-05/0.3763, allocations: 3.984 kB / 1.333 GB, free: 11.2 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.189e-05/0.3763, allocations: 4 kB / 1.333 GB, free: 11.2 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.3763, allocations: 4 kB / 1.333 GB, free: 11.2 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002277/0.3766, allocations: 59.95 kB / 1.333 GB, free: 11.14 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00115/0.3777, allocations: 459.5 kB / 1.333 GB, free: 10.64 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004291/0.3781, allocations: 142.7 kB / 1.333 GB, free: 10.5 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001415/0.3783, allocations: 48.83 kB / 1.333 GB, free: 10.45 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.323e-05/0.3783, allocations: 4 kB / 1.333 GB, free: 10.44 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002938/0.3786, allocations: 115.2 kB / 1.333 GB, free: 10.32 MB / 1.029 GB Notification: Performance of pre-optimization done (n=13): time 1.924e-06/0.3786, allocations: 0 / 1.333 GB, free: 10.32 MB / 1.029 GB Notification: Performance of matching and sorting (n=13): time 0.0006537/0.3792, allocations: 237.3 kB / 1.334 GB, free: 10.08 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.214e-05/0.3793, allocations: 59.39 kB / 1.334 GB, free: 10.01 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007389/0.38, allocations: 0.5328 MB / 1.334 GB, free: 9.465 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.115e-05/0.3801, allocations: 29.7 kB / 1.334 GB, free: 9.43 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001768/0.3802, allocations: 172.5 kB / 1.334 GB, free: 9.254 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.843e-05/0.3803, allocations: 35.73 kB / 1.335 GB, free: 9.219 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001349/0.3804, allocations: 69.92 kB / 1.335 GB, free: 9.141 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000301/0.3807, allocations: 350.8 kB / 1.335 GB, free: 8.789 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002371/0.381, allocations: 104.5 kB / 1.335 GB, free: 8.688 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002793/0.3812, allocations: 135.6 kB / 1.335 GB, free: 8.547 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000385/0.3816, allocations: 202.9 kB / 1.335 GB, free: 8.34 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.3816, allocations: 0 / 1.335 GB, free: 8.34 MB / 1.029 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006494/0.3823, allocations: 333.2 kB / 1.336 GB, free: 8.008 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.101e-05/0.3823, allocations: 4 kB / 1.336 GB, free: 8.004 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/0.3823, allocations: 3.938 kB / 1.336 GB, free: 8 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.012e-05/0.3823, allocations: 4 kB / 1.336 GB, free: 7.996 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002736/0.3826, allocations: 55.91 kB / 1.336 GB, free: 7.941 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.558e-06/0.3826, allocations: 0 / 1.336 GB, free: 7.941 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001715/0.3828, allocations: 27.94 kB / 1.336 GB, free: 7.914 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.593e-05/0.3828, allocations: 8 kB / 1.336 GB, free: 7.906 MB / 1.029 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.0002487/0.3831, allocations: 179 kB / 1.336 GB, free: 7.723 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.752e-05/0.3832, allocations: 43.69 kB / 1.336 GB, free: 7.68 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005177/0.3837, allocations: 211.4 kB / 1.336 GB, free: 7.469 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.272e-06/0.3837, allocations: 4 kB / 1.336 GB, free: 7.465 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.3837, allocations: 0 / 1.336 GB, free: 7.465 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.3837, allocations: 0 / 1.336 GB, free: 7.465 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003189/0.384, allocations: 260.6 kB / 1.336 GB, free: 7.168 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.384, allocations: 4 kB / 1.336 GB, free: 7.164 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.681e-05/0.3841, allocations: 23.86 kB / 1.336 GB, free: 7.141 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.105e-06/0.3841, allocations: 4 kB / 1.336 GB, free: 7.137 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.455e-05/0.3841, allocations: 0 / 1.336 GB, free: 7.137 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.3841, allocations: 0 / 1.336 GB, free: 7.137 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.506e-06/0.3841, allocations: 4 kB / 1.336 GB, free: 7.133 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000463/0.3846, allocations: 224.8 kB / 1.337 GB, free: 6.895 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 8.553e-05/0.3847, allocations: 47.67 kB / 1.337 GB, free: 6.848 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.354e-05/0.3847, allocations: 8 kB / 1.337 GB, free: 6.84 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001059/0.3848, allocations: 7.984 kB / 1.337 GB, free: 6.832 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.055e-05/0.3849, allocations: 23.97 kB / 1.337 GB, free: 6.809 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.837e-05/0.3849, allocations: 4 kB / 1.337 GB, free: 6.805 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0004007/0.3853, allocations: 327.1 kB / 1.337 GB, free: 6.484 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.01e-07/0.3853, allocations: 4 kB / 1.337 GB, free: 6.48 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000311/0.3856, allocations: 67.81 kB / 1.337 GB, free: 6.414 MB / 1.029 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 (timTabLin.tab.nextTimeEvent,timTabLin1.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 11 * 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.002444/0.3881, allocations: 1.108 MB / 1.338 GB, free: 5.465 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0005766/0.3887, allocations: 195.8 kB / 1.338 GB, free: 5.273 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.3887, allocations: 0 / 1.338 GB, free: 5.273 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001814/0.3888, allocations: 66.2 kB / 1.338 GB, free: 5.211 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005458/0.3894, allocations: 90.25 kB / 1.339 GB, free: 5.129 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005083/0.3945, allocations: 3.245 MB / 1.342 GB, free: 1.793 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002189/0.3947, allocations: 187.6 kB / 1.342 GB, free: 1.59 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.000176/0.3949, allocations: 54.95 kB / 1.342 GB, free: 1.535 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000215/0.3951, allocations: 115.4 kB / 1.342 GB, free: 1.426 MB / 1.029 GB Notification: Performance of SimCode: time 7.92e-07/0.3951, allocations: 3.938 kB / 1.342 GB, free: 1.422 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03336/0.4285, allocations: 7.99 MB / 1.35 GB, free: 9.582 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.95/12.37, allocations: 5.953 kB / 1.35 GB, free: 9.578 MB / 1.045 GB " [Timeout remaining time 287] (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: 19.3562259710161] Failed to read output from testmodel.py, exit status != 0: 12.60117869800888 12.627884874 12.250035352 Calling exit ...