Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside.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.0008928/0.0008928, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.001013/0.001013, allocations: 170.3 kB / 22.46 MB, free: 2.105 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.8814/0.8814, allocations: 177.1 MB / 202.8 MB, free: 5.742 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.5612/0.5612, allocations: 110.3 MB / 369.4 MB, free: 12.6 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.SmoothHeaviside,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_SmoothHeaviside",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_SmoothHeaviside",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.314e-06/2.314e-06, allocations: 0 / 0.5473 GB, free: 8.762 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.218e-05/2.45e-05, allocations: 2.281 kB / 0.5473 GB, free: 8.758 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside): time 0.003222/0.003246, allocations: 1.453 MB / 0.5487 GB, free: 7.289 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009546/0.004201, allocations: 479.6 kB / 0.5492 GB, free: 6.812 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.332e-05/0.004244, allocations: 0 / 0.5492 GB, free: 6.812 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 3.115e-05/0.004275, allocations: 0 / 0.5492 GB, free: 6.812 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 8.492e-05/0.00436, allocations: 11.94 kB / 0.5492 GB, free: 6.801 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003203/0.004681, allocations: 23.84 kB / 0.5492 GB, free: 6.777 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001086/0.004789, allocations: 27.88 kB / 0.5492 GB, free: 6.75 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001424/0.004932, allocations: 15.97 kB / 0.5492 GB, free: 6.734 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001221/0.005054, allocations: 15.98 kB / 0.5492 GB, free: 6.719 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.729e-05/0.005111, allocations: 4 kB / 0.5493 GB, free: 6.715 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 2.022e-05/0.005131, allocations: 0 / 0.5493 GB, free: 6.715 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.673e-05/0.005228, allocations: 19.92 kB / 0.5493 GB, free: 6.695 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 1.871e-05/0.005247, allocations: 4 kB / 0.5493 GB, free: 6.691 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 2.659e-05/0.005273, allocations: 4 kB / 0.5493 GB, free: 6.688 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001781/0.005451, allocations: 39.94 kB / 0.5493 GB, free: 6.648 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.005457, allocations: 0 / 0.5493 GB, free: 6.648 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.993e-06/0.005459, allocations: 0 / 0.5493 GB, free: 6.648 MB / 474.7 MB Notification: Performance of Transformations before backend: time 7.244e-06/0.005466, allocations: 3.938 kB / 0.5493 GB, free: 6.645 MB / 474.7 MB 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.0005196/0.005986, allocations: 270.3 kB / 0.5496 GB, free: 6.352 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.402e-05/0.00604, allocations: 8.031 kB / 0.5496 GB, free: 6.344 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.034e-05/0.00613, allocations: 30.75 kB / 0.5496 GB, free: 6.305 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.137e-05/0.006172, allocations: 12.83 kB / 0.5496 GB, free: 6.293 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001042/0.006276, allocations: 113.7 kB / 0.5497 GB, free: 6.156 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.394e-05/0.00629, allocations: 4.375 kB / 0.5497 GB, free: 6.152 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.027e-06/0.006299, allocations: 4.375 kB / 0.5497 GB, free: 6.148 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001705/0.006469, allocations: 50.23 kB / 0.5498 GB, free: 6.094 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.722e-06/0.006476, allocations: 192 / 0.5498 GB, free: 6.094 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.073e-05/0.006487, allocations: 8.125 kB / 0.5498 GB, free: 6.086 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.006492, allocations: 0 / 0.5498 GB, free: 6.086 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.828e-05/0.00658, allocations: 31.97 kB / 0.5498 GB, free: 6.055 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002941/0.006874, allocations: 212.1 kB / 0.55 GB, free: 5.805 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.93e-05/0.006954, allocations: 42.5 kB / 0.5501 GB, free: 5.754 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.885e-05/0.007003, allocations: 32.83 kB / 0.5501 GB, free: 5.719 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.29e-05/0.007095, allocations: 4 kB / 0.5501 GB, free: 5.715 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.109e-05/0.007117, allocations: 34.56 kB / 0.5501 GB, free: 5.672 MB / 474.7 MB Notification: Performance of pre-optimization done (n=2): time 2.916e-06/0.007119, allocations: 3.984 kB / 0.5501 GB, free: 5.668 MB / 474.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002353/0.007355, allocations: 81.59 kB / 0.5502 GB, free: 5.582 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.214e-05/0.007387, allocations: 55.47 kB / 0.5503 GB, free: 5.516 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.266e-05/0.007449, allocations: 109.8 kB / 0.5504 GB, free: 5.398 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.081e-05/0.00746, allocations: 25.7 kB / 0.5504 GB, free: 5.367 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.71e-05/0.007497, allocations: 84.14 kB / 0.5505 GB, free: 5.281 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.721e-05/0.007515, allocations: 7.953 kB / 0.5505 GB, free: 5.273 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.567e-05/0.00754, allocations: 9.719 kB / 0.5505 GB, free: 5.258 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 7.758e-05/0.007618, allocations: 322.8 kB / 0.5508 GB, free: 4.934 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.952e-05/0.007657, allocations: 11.98 kB / 0.5508 GB, free: 4.922 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.561e-05/0.007693, allocations: 15.98 kB / 0.5508 GB, free: 4.906 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.064e-05/0.007774, allocations: 40.89 kB / 0.5509 GB, free: 4.863 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.007775, allocations: 0 / 0.5509 GB, free: 4.863 MB / 474.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001006/0.007876, allocations: 73.53 kB / 0.5509 GB, free: 4.785 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/0.007891, allocations: 6.5 kB / 0.551 GB, free: 4.781 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.698e-06/0.007896, allocations: 0 / 0.551 GB, free: 4.781 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.528e-05/0.007911, allocations: 7.938 kB / 0.551 GB, free: 4.773 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.521e-05/0.007976, allocations: 12.02 kB / 0.551 GB, free: 4.762 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.581e-06/0.007982, allocations: 0 / 0.551 GB, free: 4.762 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.231e-05/0.008004, allocations: 7.984 kB / 0.551 GB, free: 4.754 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.911e-06/0.00801, allocations: 256 / 0.551 GB, free: 4.754 MB / 474.7 MB 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.719e-05/0.008067, allocations: 113.8 kB / 0.5511 GB, free: 4.633 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.267e-05/0.00808, allocations: 3.938 kB / 0.5511 GB, free: 4.629 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001409/0.008221, allocations: 72.97 kB / 0.5512 GB, free: 4.551 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.946e-06/0.008224, allocations: 4 kB / 0.5512 GB, free: 4.547 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.008228, allocations: 4.031 kB / 0.5512 GB, free: 4.543 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.846e-06/0.008231, allocations: 0 / 0.5512 GB, free: 4.543 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001009/0.008332, allocations: 128.8 kB / 0.5513 GB, free: 4.375 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.008335, allocations: 7.875 kB / 0.5513 GB, free: 4.367 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.358e-05/0.008358, allocations: 11.92 kB / 0.5513 GB, free: 4.355 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.12e-07/0.008359, allocations: 0 / 0.5513 GB, free: 4.355 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.302e-06/0.008365, allocations: 0 / 0.5513 GB, free: 4.355 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.524e-06/0.008368, allocations: 4 kB / 0.5513 GB, free: 4.352 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.008369, allocations: 0 / 0.5513 GB, free: 4.352 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001261/0.008495, allocations: 163.5 kB / 0.5515 GB, free: 4.176 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.102e-06/0.008501, allocations: 3.938 kB / 0.5515 GB, free: 4.172 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.076e-05/0.008512, allocations: 0 / 0.5515 GB, free: 4.172 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.48e-05/0.008547, allocations: 11.98 kB / 0.5515 GB, free: 4.16 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.534e-05/0.008582, allocations: 4 kB / 0.5515 GB, free: 4.156 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.625e-06/0.008585, allocations: 0 / 0.5515 GB, free: 4.156 MB / 474.7 MB Notification: Performance of sorting global known variables: time 2.764e-05/0.008612, allocations: 83.27 kB / 0.5516 GB, free: 4.074 MB / 474.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008612, allocations: 0 / 0.5516 GB, free: 4.074 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0001566/0.008769, allocations: 7.938 kB / 0.5516 GB, free: 4.066 MB / 474.7 MB 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.0003715/0.009141, allocations: 0.7085 MB / 0.5523 GB, free: 3.332 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0001219/0.009262, allocations: 35.95 kB / 0.5523 GB, free: 3.297 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.009264, allocations: 4 kB / 0.5523 GB, free: 3.293 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 3.85e-05/0.009303, allocations: 15.98 kB / 0.5523 GB, free: 3.277 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002447/0.009547, allocations: 18.61 kB / 0.5523 GB, free: 3.262 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003233/0.009871, allocations: 142.5 kB / 0.5525 GB, free: 3.082 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.172e-05/0.009912, allocations: 59.3 kB / 0.5525 GB, free: 3.004 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 2.153e-05/0.009934, allocations: 7.953 kB / 0.5525 GB, free: 2.996 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.91e-05/0.009963, allocations: 12.48 kB / 0.5525 GB, free: 2.984 MB / 474.7 MB Notification: Performance of SimCode: time 4.01e-07/0.009963, allocations: 0 / 0.5525 GB, free: 2.984 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01576/0.02572, allocations: 2.118 MB / 0.5546 GB, free: 1.016 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.86/6.886, allocations: 9.875 kB / 0.5546 GB, free: 1.012 MB / 474.7 MB " [Timeout remaining time 653] (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_SmoothHeaviside_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_SmoothHeaviside.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.292039163410664] Failed to read output from testmodel.py, exit status != 0: 6.9649993954226375 6.974701142 6.967376571 Calling exit ...