Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit.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.001203/0.001203, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 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.0009938/0.0009938, allocations: 165.9 kB / 22.45 MB, free: 2.113 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.8996/0.8996, allocations: 177.1 MB / 202.8 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo): time 0.5291/0.5291, allocations: 110.2 MB / 369.4 MB, free: 12.62 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:44:3-56:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:58:3-65:19:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:67:3-72:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:74:3-79:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/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(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_SmoothLimit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_SmoothLimit",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.352e-06/1.352e-06, allocations: 0 / 0.5473 GB, free: 9.809 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.431e-05/2.566e-05, allocations: 4.812 kB / 0.5473 GB, free: 9.805 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit): time 0.002253/0.002279, allocations: 1.482 MB / 0.5487 GB, free: 8.309 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.000863/0.003142, allocations: 0.5812 MB / 0.5493 GB, free: 7.719 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.454e-05/0.003207, allocations: 0 / 0.5493 GB, free: 7.719 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 3.194e-05/0.003239, allocations: 3.938 kB / 0.5493 GB, free: 7.715 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 4.872e-05/0.003287, allocations: 7.938 kB / 0.5493 GB, free: 7.707 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002947/0.003582, allocations: 63.8 kB / 0.5494 GB, free: 7.645 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 9.539e-05/0.003677, allocations: 31.86 kB / 0.5494 GB, free: 7.613 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 8.979e-05/0.003767, allocations: 4 kB / 0.5494 GB, free: 7.609 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001277/0.003895, allocations: 23.86 kB / 0.5494 GB, free: 7.586 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 4.614e-05/0.003941, allocations: 15.92 kB / 0.5494 GB, free: 7.57 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 1.573e-05/0.003957, allocations: 4 kB / 0.5494 GB, free: 7.566 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001135/0.00407, allocations: 55.94 kB / 0.5495 GB, free: 7.512 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 1.025e-05/0.00408, allocations: 0 / 0.5495 GB, free: 7.512 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 1.971e-05/0.0041, allocations: 8 kB / 0.5495 GB, free: 7.504 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0001361/0.004236, allocations: 87.69 kB / 0.5496 GB, free: 7.418 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.983e-06/0.004238, allocations: 4 kB / 0.5496 GB, free: 7.414 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.232e-06/0.004239, allocations: 0 / 0.5496 GB, free: 7.414 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 3.767e-06/0.004243, allocations: 0 / 0.5496 GB, free: 7.414 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.0003375/0.004581, allocations: 274.1 kB / 0.5499 GB, free: 7.117 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.799e-05/0.004629, allocations: 8.625 kB / 0.5499 GB, free: 7.109 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.102e-05/0.00466, allocations: 38.72 kB / 0.5499 GB, free: 7.062 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001038/0.004764, allocations: 12.89 kB / 0.5499 GB, free: 7.051 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001705/0.004934, allocations: 121.7 kB / 0.55 GB, free: 6.906 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.929e-06/0.004944, allocations: 384 / 0.55 GB, free: 6.906 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.486e-06/0.004953, allocations: 4.312 kB / 0.55 GB, free: 6.902 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001122/0.005065, allocations: 54.12 kB / 0.5501 GB, free: 6.844 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/0.005073, allocations: 192 / 0.5501 GB, free: 6.844 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.151e-05/0.005085, allocations: 4.125 kB / 0.5501 GB, free: 6.84 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.373e-06/0.005092, allocations: 7.984 kB / 0.5501 GB, free: 6.832 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.787e-05/0.00515, allocations: 15.98 kB / 0.5501 GB, free: 6.816 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002946/0.005445, allocations: 224 kB / 0.5503 GB, free: 6.555 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 7.074e-05/0.005515, allocations: 26.58 kB / 0.5503 GB, free: 6.52 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.617e-05/0.005552, allocations: 20.84 kB / 0.5504 GB, free: 6.496 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003399/0.005891, allocations: 103.8 kB / 0.5505 GB, free: 6.395 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.649e-05/0.005918, allocations: 30.56 kB / 0.5505 GB, free: 6.355 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=2): time 1.293e-06/0.005919, allocations: 0 / 0.5505 GB, free: 6.355 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2): time 0.0002094/0.006129, allocations: 61.67 kB / 0.5506 GB, free: 6.289 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.384e-05/0.006162, allocations: 59.53 kB / 0.5506 GB, free: 6.219 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.266e-05/0.006235, allocations: 105.8 kB / 0.5507 GB, free: 6.105 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.296e-05/0.006248, allocations: 29.7 kB / 0.5507 GB, free: 6.07 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 4.622e-05/0.006294, allocations: 88.12 kB / 0.5508 GB, free: 5.98 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 1.911e-05/0.006313, allocations: 3.953 kB / 0.5508 GB, free: 5.977 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.863e-05/0.006342, allocations: 13.72 kB / 0.5508 GB, free: 5.957 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 9.714e-05/0.006439, allocations: 314.8 kB / 0.5511 GB, free: 5.641 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.153e-05/0.006471, allocations: 19.92 kB / 0.5512 GB, free: 5.621 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.051e-05/0.006491, allocations: 8 kB / 0.5512 GB, free: 5.613 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.647e-05/0.006548, allocations: 28.91 kB / 0.5512 GB, free: 5.582 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.006551, allocations: 4 kB / 0.5512 GB, free: 5.578 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.727e-05/0.006638, allocations: 61.56 kB / 0.5513 GB, free: 5.512 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/0.006653, allocations: 6.5 kB / 0.5513 GB, free: 5.508 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/0.00666, allocations: 0 / 0.5513 GB, free: 5.508 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.229e-05/0.006672, allocations: 0 / 0.5513 GB, free: 5.508 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.804e-05/0.00673, allocations: 4 kB / 0.5513 GB, free: 5.504 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.965e-06/0.006738, allocations: 4 kB / 0.5513 GB, free: 5.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.924e-05/0.006757, allocations: 8.016 kB / 0.5513 GB, free: 5.492 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.073e-06/0.006764, allocations: 3.938 kB / 0.5513 GB, free: 5.488 MB / 0.5105 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 6.961e-05/0.006834, allocations: 114.2 kB / 0.5514 GB, free: 5.367 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.601e-05/0.00685, allocations: 3.938 kB / 0.5514 GB, free: 5.363 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000129/0.006979, allocations: 69.28 kB / 0.5515 GB, free: 5.285 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.006982, allocations: 0 / 0.5515 GB, free: 5.285 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.006987, allocations: 7.875 kB / 0.5515 GB, free: 5.277 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.006991, allocations: 0 / 0.5515 GB, free: 5.277 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001205/0.007111, allocations: 132.7 kB / 0.5516 GB, free: 5.105 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.007113, allocations: 7.969 kB / 0.5516 GB, free: 5.098 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.986e-05/0.007133, allocations: 7.984 kB / 0.5516 GB, free: 5.09 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.007135, allocations: 0 / 0.5516 GB, free: 5.09 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.404e-06/0.007142, allocations: 0 / 0.5516 GB, free: 5.09 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.01e-07/0.007143, allocations: 0 / 0.5516 GB, free: 5.09 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-06/0.007144, allocations: 0 / 0.5516 GB, free: 5.09 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001054/0.00725, allocations: 151.4 kB / 0.5518 GB, free: 4.926 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 9.288e-06/0.007259, allocations: 11.92 kB / 0.5518 GB, free: 4.914 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.097e-05/0.00727, allocations: 4 kB / 0.5518 GB, free: 4.91 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.792e-05/0.007298, allocations: 0 / 0.5518 GB, free: 4.91 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.785e-05/0.007326, allocations: 4.031 kB / 0.5518 GB, free: 4.906 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.378e-06/0.00733, allocations: 7.984 kB / 0.5518 GB, free: 4.898 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 3.489e-05/0.007365, allocations: 87.27 kB / 0.5519 GB, free: 4.812 MB / 0.5105 GB Notification: Performance of sort global known variables: time 5e-08/0.007365, allocations: 0 / 0.5519 GB, free: 4.812 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0001675/0.007532, allocations: 19.94 kB / 0.5519 GB, free: 4.793 MB / 0.5105 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.0003337/0.007866, allocations: 0.7083 MB / 0.5526 GB, free: 4.059 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 9.385e-05/0.00796, allocations: 20.02 kB / 0.5526 GB, free: 4.039 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.007962, allocations: 4.062 kB / 0.5526 GB, free: 4.035 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 1.978e-05/0.007981, allocations: 8 kB / 0.5526 GB, free: 4.027 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001492/0.008131, allocations: 4 kB / 0.5526 GB, free: 4.023 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008523/0.008983, allocations: 1.261 MB / 0.5538 GB, free: 2.68 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.842e-05/0.009031, allocations: 67.28 kB / 0.5539 GB, free: 2.594 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 1.879e-05/0.00905, allocations: 4.094 kB / 0.5539 GB, free: 2.59 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.32e-05/0.009083, allocations: 16.5 kB / 0.5539 GB, free: 2.574 MB / 0.5105 GB Notification: Performance of SimCode: time 5.21e-07/0.009084, allocations: 0 / 0.5539 GB, free: 2.574 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01726/0.02634, allocations: 2.315 MB / 0.5562 GB, free: 404 kB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.913/6.94, allocations: 9.375 kB / 0.5562 GB, free: 400 kB / 0.5105 GB " [Timeout remaining time 653] (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_SmoothLimit_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_SmoothLimit.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.384168596938252] Failed to read output from testmodel.py, exit status != 0: 7.0190457524731755 7.027407247 7.021443365 Calling exit ...