Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaGap.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.001734/0.001734, allocations: 124.9 kB / 17.17 MB, free: 5.918 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.002453/0.002453, allocations: 210.3 kB / 20.13 MB, free: 2.98 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 / 253.5 MB, free: 15.12 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.00243/0.00243, allocations: 289.2 kB / 309.8 MB, free: 3.434 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.073/1.073, allocations: 180.6 MB / 0.5338 GB, free: 12.43 MB / 398.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaGap,fileNamePrefix="BuildingSystems_BuildingSystems_HAM_ConvectiveHeatTransfer_Examples_AlphaGap",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaGap,fileNamePrefix="BuildingSystems_BuildingSystems_HAM_ConvectiveHeatTransfer_Examples_AlphaGap",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 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: BuildingSystems 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.002804/0.002804, allocations: 96.28 kB / 0.7346 GB, free: 2.523 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5052/0.508, allocations: 95.34 MB / 0.8277 GB, free: 3.047 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaGap): time 0.002207/0.5102, allocations: 1.289 MB / 0.829 GB, free: 2.133 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001157/0.5114, allocations: 0.9346 MB / 0.8299 GB, free: 1.492 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.147e-05/0.5114, allocations: 0 / 0.8299 GB, free: 1.492 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.664e-05/0.5114, allocations: 0.8906 kB / 0.8299 GB, free: 1.492 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 3.929e-05/0.5114, allocations: 12.44 kB / 0.8299 GB, free: 1.48 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.000467/0.5119, allocations: 140.7 kB / 0.8301 GB, free: 1.422 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 5.918e-05/0.512, allocations: 30.14 kB / 0.8301 GB, free: 1.41 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.382e-05/0.512, allocations: 0.7969 kB / 0.8301 GB, free: 1.41 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001177/0.5121, allocations: 17.03 kB / 0.8301 GB, free: 1.406 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 5.694e-05/0.5122, allocations: 17.27 kB / 0.8301 GB, free: 1.398 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.316e-05/0.5122, allocations: 1.312 kB / 0.8301 GB, free: 1.398 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002825/0.5125, allocations: 175.4 kB / 0.8303 GB, free: 1.352 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.201e-05/0.5125, allocations: 5.5 kB / 0.8303 GB, free: 1.348 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.297e-05/0.5125, allocations: 10.55 kB / 0.8303 GB, free: 1.344 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002406/0.5128, allocations: 134.8 kB / 0.8304 GB, free: 1.305 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.5128, allocations: 3.938 kB / 0.8304 GB, free: 1.301 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.633e-06/0.5128, allocations: 0 / 0.8304 GB, free: 1.301 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.18e-06/0.5128, allocations: 0 / 0.8304 GB, free: 1.301 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003529/0.5131, allocations: 361.3 kB / 0.8308 GB, free: 0.9258 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.931e-05/0.5132, allocations: 13.72 kB / 0.8308 GB, free: 0.9219 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.333e-05/0.5132, allocations: 4.188 kB / 0.8308 GB, free: 0.918 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.061e-05/0.5132, allocations: 33.03 kB / 0.8308 GB, free: 0.8789 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.627e-05/0.5133, allocations: 7.922 kB / 0.8308 GB, free: 0.875 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.514e-05/0.5134, allocations: 166.2 kB / 0.831 GB, free: 0.6758 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.994e-06/0.5134, allocations: 1.5 kB / 0.831 GB, free: 0.6758 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.433e-05/0.5134, allocations: 4.312 kB / 0.831 GB, free: 0.6758 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001001/0.5135, allocations: 44.31 kB / 0.831 GB, free: 0.6367 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/0.5135, allocations: 1.906 kB / 0.831 GB, free: 0.6367 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.318e-06/0.5135, allocations: 7.938 kB / 0.8311 GB, free: 0.6289 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.5135, allocations: 0 / 0.8311 GB, free: 0.6289 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.886e-05/0.5136, allocations: 31.33 kB / 0.8311 GB, free: 0.6211 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001338/0.5137, allocations: 154.2 kB / 0.8312 GB, free: 440 kB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 7.737e-05/0.5138, allocations: 36.11 kB / 0.8313 GB, free: 412 kB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.802e-05/0.5138, allocations: 15.92 kB / 0.8313 GB, free: 400 kB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001162/0.5139, allocations: 88.52 kB / 0.8314 GB, free: 300 kB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.568e-05/0.514, allocations: 40.56 kB / 0.8314 GB, free: 252 kB / 0.5762 GB Notification: Performance of pre-optimization done (n=5): time 9.72e-07/0.514, allocations: 0 / 0.8314 GB, free: 252 kB / 0.5762 GB Notification: Performance of matching and sorting (n=5): time 0.0001841/0.5141, allocations: 67.69 kB / 0.8315 GB, free: 208 kB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.536e-05/0.5142, allocations: 56.06 kB / 0.8315 GB, free: 140 kB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.984e-05/0.5142, allocations: 94.09 kB / 0.8316 GB, free: 40 kB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 7.675e-06/0.5142, allocations: 25.7 kB / 0.8316 GB, free: 8 kB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.574e-05/0.5143, allocations: 80.14 kB / 0.8317 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.629e-05/0.5143, allocations: 24.12 kB / 0.8317 GB, free: 15.91 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.683e-05/0.5144, allocations: 20.44 kB / 0.8318 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001376/0.5145, allocations: 316.3 kB / 0.8321 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.313e-05/0.5145, allocations: 5.375 kB / 0.8321 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.331e-05/0.5145, allocations: 11.77 kB / 0.8321 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.416e-05/0.5146, allocations: 23.59 kB / 0.8321 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.5146, allocations: 3.938 kB / 0.8321 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.995e-05/0.5147, allocations: 62.77 kB / 0.8322 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.489e-05/0.5147, allocations: 6.594 kB / 0.8322 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.5147, allocations: 0 / 0.8322 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.085e-05/0.5147, allocations: 7.984 kB / 0.8322 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.354e-05/0.5148, allocations: 9.922 kB / 0.8322 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.252e-06/0.5148, allocations: 0.5156 kB / 0.8322 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.207e-05/0.5148, allocations: 1.406 kB / 0.8322 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.166e-06/0.5149, allocations: 3.766 kB / 0.8322 GB, free: 15.5 MB / 0.5919 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 (5): * Single equations (assignments): 5 * 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 8.622e-05/0.5149, allocations: 114.1 kB / 0.8323 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.321e-05/0.515, allocations: 5.188 kB / 0.8323 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002016/0.5152, allocations: 85.39 kB / 0.8324 GB, free: 15.32 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.5152, allocations: 0 / 0.8324 GB, free: 15.32 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.5152, allocations: 5.047 kB / 0.8324 GB, free: 15.32 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.5152, allocations: 0.6562 kB / 0.8324 GB, free: 15.32 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001417/0.5153, allocations: 162.4 kB / 0.8325 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/0.5153, allocations: 11.88 kB / 0.8326 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.703e-05/0.5154, allocations: 12.09 kB / 0.8326 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.5154, allocations: 0.5156 kB / 0.8326 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.048e-05/0.5154, allocations: 4.516 kB / 0.8326 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.5154, allocations: 6.531 kB / 0.8326 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.5154, allocations: 3.984 kB / 0.8326 GB, free: 15.1 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001317/0.5155, allocations: 84.19 kB / 0.8327 GB, free: 15.03 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 5.079e-05/0.5156, allocations: 87.78 kB / 0.8327 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.373e-05/0.5156, allocations: 0.5625 kB / 0.8327 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.434e-05/0.5156, allocations: 4 kB / 0.8327 GB, free: 14.92 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.356e-05/0.5156, allocations: 5.188 kB / 0.8328 GB, free: 14.92 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.111e-06/0.5156, allocations: 5.859 kB / 0.8328 GB, free: 14.92 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 3.828e-05/0.5157, allocations: 78.81 kB / 0.8328 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7e-08/0.5157, allocations: 0 / 0.8328 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002986/0.516, allocations: 50.2 kB / 0.8329 GB, free: 14.83 MB / 0.5919 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 (6): * Single equations (assignments): 6 * 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.0005923/0.5166, allocations: 0.681 MB / 0.8335 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0001141/0.5167, allocations: 30.98 kB / 0.8336 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.5167, allocations: 0 / 0.8336 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 3.123e-05/0.5167, allocations: 19.27 kB / 0.8336 GB, free: 14.19 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000141/0.5168, allocations: 4.812 kB / 0.8336 GB, free: 14.19 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004474/0.5173, allocations: 175.6 kB / 0.8338 GB, free: 14.02 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002962/0.5176, allocations: 0.6815 MB / 0.8344 GB, free: 13.32 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 4.337e-05/0.5176, allocations: 13.84 kB / 0.8344 GB, free: 13.32 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.919e-05/0.5177, allocations: 14.72 kB / 0.8345 GB, free: 13.31 MB / 0.5919 GB Notification: Performance of SimCode: time 3.01e-07/0.5177, allocations: 0 / 0.8345 GB, free: 13.31 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0195/0.5372, allocations: 2.228 MB / 0.8366 GB, free: 12.86 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.026/8.564, allocations: 16.05 kB / 0.8366 GB, free: 12.85 MB / 0.5919 GB " [Timeout remaining time 651] (rm -f BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaGap.pipe ; mkfifo BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaGap.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaGap.pipe >> ../files/BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaGap.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_HAM_ConvectiveHeatTransfer_Examples_AlphaGap_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_HAM_ConvectiveHeatTransfer_Examples_AlphaGap.fmu > BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaGap.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.584068452008069] Failed to read output from testmodel.py, exit status != 0: 8.686678152007516 8.700271233 8.184819141 Calling exit ...