Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Sin.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.000804/0.000804, allocations: 72.5 kB / 19.92 MB, free: 4.633 MB / 18.57 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.0008489/0.0008489, allocations: 173.9 kB / 23.21 MB, free: 1.355 MB / 18.57 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.8777/0.8777, allocations: 177.1 MB / 203.5 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.5643/0.5643, allocations: 114 MB / 373.9 MB, free: 8.715 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Controls.OBC.CDL.Reals.Validation.Sin,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Sin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Reals.Validation.Sin,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Sin",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.903e-06/1.903e-06, allocations: 0 / 0.5543 GB, free: 2.715 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.723e-05/1.914e-05, allocations: 6.281 kB / 0.5543 GB, free: 2.707 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.Sin): time 0.001574/0.001593, allocations: 0.6481 MB / 0.5549 GB, free: 2.062 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.001007/0.002601, allocations: 0.8432 MB / 0.5557 GB, free: 1.207 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.144e-05/0.002632, allocations: 0 / 0.5557 GB, free: 1.207 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 2.563e-05/0.002658, allocations: 7.938 kB / 0.5557 GB, free: 1.199 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 5.658e-05/0.002715, allocations: 3.938 kB / 0.5557 GB, free: 1.195 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001787/0.002893, allocations: 15.92 kB / 0.5557 GB, free: 1.18 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 7.086e-05/0.002964, allocations: 27.92 kB / 0.5558 GB, free: 1.152 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 8.462e-05/0.003049, allocations: 0 / 0.5558 GB, free: 1.152 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 6.444e-05/0.003113, allocations: 15.97 kB / 0.5558 GB, free: 1.137 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 3.243e-05/0.003146, allocations: 8 kB / 0.5558 GB, free: 1.129 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 1.611e-05/0.003162, allocations: 7.938 kB / 0.5558 GB, free: 1.121 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 4.352e-05/0.003205, allocations: 4 kB / 0.5558 GB, free: 1.117 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 1.604e-05/0.003221, allocations: 7.922 kB / 0.5558 GB, free: 1.109 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 1.721e-05/0.003239, allocations: 8 kB / 0.5558 GB, free: 1.102 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 9.692e-05/0.003336, allocations: 27.95 kB / 0.5558 GB, free: 1.074 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.154e-06/0.003338, allocations: 0 / 0.5558 GB, free: 1.074 MB / 0.5105 GB Notification: Performance of FrontEnd: time 7.71e-07/0.003338, allocations: 0 / 0.5558 GB, free: 1.074 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 3.496e-06/0.003342, allocations: 0 / 0.5558 GB, free: 1.074 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003499/0.003692, allocations: 266.3 kB / 0.5561 GB, free: 0.7812 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.921e-05/0.003731, allocations: 8.625 kB / 0.5561 GB, free: 0.7734 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.074e-05/0.003792, allocations: 38.73 kB / 0.5561 GB, free: 0.7266 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.071e-05/0.003852, allocations: 8.875 kB / 0.5562 GB, free: 0.7188 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.136e-05/0.003934, allocations: 105.8 kB / 0.5563 GB, free: 0.5898 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.208e-05/0.003946, allocations: 4.375 kB / 0.5563 GB, free: 0.5859 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.885e-06/0.003954, allocations: 4.312 kB / 0.5563 GB, free: 0.582 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001386/0.004092, allocations: 50.23 kB / 0.5563 GB, free: 0.5273 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.276e-06/0.004101, allocations: 192 / 0.5563 GB, free: 0.5273 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.504e-06/0.004108, allocations: 384 / 0.5563 GB, free: 0.5273 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.823e-06/0.004115, allocations: 4.125 kB / 0.5563 GB, free: 0.5234 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000126/0.004241, allocations: 39.89 kB / 0.5564 GB, free: 496 kB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002898/0.004531, allocations: 208.1 kB / 0.5566 GB, free: 244 kB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 9.836e-05/0.004629, allocations: 42.55 kB / 0.5566 GB, free: 192 kB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.324e-05/0.004692, allocations: 24.91 kB / 0.5566 GB, free: 164 kB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.85e-05/0.004711, allocations: 0 / 0.5566 GB, free: 164 kB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.103e-05/0.004732, allocations: 38.44 kB / 0.5567 GB, free: 116 kB / 0.5105 GB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.004733, allocations: 0 / 0.5567 GB, free: 116 kB / 0.5105 GB Notification: Performance of matching and sorting (n=2): time 0.0002735/0.005007, allocations: 89.69 kB / 0.5567 GB, free: 20 kB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.675e-05/0.005053, allocations: 51.41 kB / 0.5568 GB, free: 15.96 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.283e-05/0.005116, allocations: 97.86 kB / 0.5569 GB, free: 15.85 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 4.909e-05/0.005165, allocations: 25.7 kB / 0.5569 GB, free: 15.82 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.921e-05/0.005204, allocations: 88.12 kB / 0.557 GB, free: 15.73 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.701e-05/0.005221, allocations: 3.953 kB / 0.557 GB, free: 15.73 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.97e-05/0.005251, allocations: 13.72 kB / 0.557 GB, free: 15.71 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.605e-05/0.005337, allocations: 314.8 kB / 0.5573 GB, free: 15.39 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.693e-05/0.005394, allocations: 11.98 kB / 0.5573 GB, free: 15.38 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.405e-05/0.005448, allocations: 28 kB / 0.5573 GB, free: 15.35 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001105/0.005559, allocations: 40.77 kB / 0.5574 GB, free: 15.31 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.00556, allocations: 0 / 0.5574 GB, free: 15.31 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001417/0.005702, allocations: 65.59 kB / 0.5574 GB, free: 15.24 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.308e-05/0.005715, allocations: 8 kB / 0.5575 GB, free: 15.23 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.005719, allocations: 192 / 0.5575 GB, free: 15.23 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.18e-05/0.005731, allocations: 4.094 kB / 0.5575 GB, free: 15.23 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.914e-05/0.0058, allocations: 7.984 kB / 0.5575 GB, free: 15.22 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.148e-06/0.005804, allocations: 0 / 0.5575 GB, free: 15.22 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.103e-05/0.005835, allocations: 7.984 kB / 0.5575 GB, free: 15.21 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.881e-06/0.005841, allocations: 4 kB / 0.5575 GB, free: 15.21 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 5.83e-05/0.0059, allocations: 113.8 kB / 0.5576 GB, free: 15.09 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.115e-05/0.005921, allocations: 3.938 kB / 0.5576 GB, free: 15.08 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001692/0.00609, allocations: 76.91 kB / 0.5577 GB, free: 15 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.006092, allocations: 0 / 0.5577 GB, free: 15 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.006096, allocations: 3.938 kB / 0.5577 GB, free: 15 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.006098, allocations: 0 / 0.5577 GB, free: 15 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001333/0.006232, allocations: 132.6 kB / 0.5578 GB, free: 14.83 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.143e-06/0.006233, allocations: 7.938 kB / 0.5578 GB, free: 14.82 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.565e-05/0.006268, allocations: 7.984 kB / 0.5578 GB, free: 14.81 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/0.006271, allocations: 3.938 kB / 0.5578 GB, free: 14.81 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.302e-06/0.006277, allocations: 0 / 0.5578 GB, free: 14.81 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.11e-07/0.006278, allocations: 0 / 0.5578 GB, free: 14.81 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.00628, allocations: 8 kB / 0.5578 GB, free: 14.8 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001699/0.00645, allocations: 167.5 kB / 0.558 GB, free: 14.62 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 8.325e-06/0.006459, allocations: 3.938 kB / 0.558 GB, free: 14.62 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.819e-06/0.006469, allocations: 0 / 0.558 GB, free: 14.62 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.15e-05/0.00653, allocations: 7.984 kB / 0.558 GB, free: 14.61 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.89e-05/0.006559, allocations: 0 / 0.558 GB, free: 14.61 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.836e-06/0.006562, allocations: 4 kB / 0.558 GB, free: 14.61 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.274e-05/0.006595, allocations: 83.28 kB / 0.5581 GB, free: 14.52 MB / 0.5261 GB Notification: Performance of sort global known variables: time 8.1e-08/0.006595, allocations: 0 / 0.5581 GB, free: 14.52 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002328/0.006827, allocations: 8.031 kB / 0.5581 GB, free: 14.52 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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 Backend phase and start with SimCode phase: time 0.0004431/0.00727, allocations: 0.689 MB / 0.5588 GB, free: 13.8 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001558/0.007426, allocations: 39.91 kB / 0.5588 GB, free: 13.76 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.007428, allocations: 0 / 0.5588 GB, free: 13.76 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 5.771e-05/0.007485, allocations: 20.08 kB / 0.5588 GB, free: 13.74 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000267/0.007752, allocations: 7.984 kB / 0.5588 GB, free: 13.73 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003682/0.008121, allocations: 130.6 kB / 0.5589 GB, free: 13.56 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.534e-05/0.008166, allocations: 63.34 kB / 0.559 GB, free: 13.48 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 1.899e-05/0.008185, allocations: 0 / 0.559 GB, free: 13.48 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.238e-05/0.008217, allocations: 8.5 kB / 0.559 GB, free: 13.47 MB / 0.5261 GB Notification: Performance of SimCode: time 3.01e-07/0.008218, allocations: 0 / 0.559 GB, free: 13.47 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0139/0.02212, allocations: 1.936 MB / 0.5609 GB, free: 11.67 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.858/6.88, allocations: 6.297 kB / 0.5609 GB, free: 11.67 MB / 0.5261 GB " [Timeout remaining time 653] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Sin.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Sin.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Sin.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Sin.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Sin_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Sin.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Sin.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.3340481845662] Failed to read output from testmodel.py, exit status != 0: 6.961897519417107 6.975635609 6.969993782 Calling exit ...