Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001354/0.001354, allocations: 106.7 kB / 16.45 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001301/0.001301, allocations: 191.8 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.398/1.398, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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.6.0-master/package.mo): time 0.9226/0.9226, allocations: 145.2 MB / 447.9 MB, free: 6.324 MB / 350.1 MB " [Timeout remaining time 179] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_IntegratorWithReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_IntegratorWithReset",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001844/0.001844, allocations: 69.02 kB / 0.62 GB, free: 1.332 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1772/0.1791, allocations: 86.64 MB / 0.7046 GB, free: 10.64 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset): time 0.003039/0.1821, allocations: 1.827 MB / 0.7064 GB, free: 8.801 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0009497/0.1831, allocations: 0.5415 MB / 0.7069 GB, free: 8.254 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.032e-05/0.1832, allocations: 4 kB / 0.7069 GB, free: 8.25 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001395/0.1833, allocations: 23.72 kB / 0.7069 GB, free: 8.227 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 7.93e-05/0.1834, allocations: 27.73 kB / 0.707 GB, free: 8.199 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002274/0.1836, allocations: 71.8 kB / 0.707 GB, free: 8.129 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002458/0.1839, allocations: 183.4 kB / 0.7072 GB, free: 7.949 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001364/0.184, allocations: 33.94 kB / 0.7072 GB, free: 7.918 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 8.367e-05/0.1841, allocations: 47.8 kB / 0.7073 GB, free: 7.871 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 8.877e-05/0.1842, allocations: 59.64 kB / 0.7073 GB, free: 7.812 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.592e-05/0.1842, allocations: 12 kB / 0.7073 GB, free: 7.801 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 1.805e-05/0.1842, allocations: 8 kB / 0.7073 GB, free: 7.793 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 3.801e-05/0.1843, allocations: 31.89 kB / 0.7074 GB, free: 7.762 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 7.308e-05/0.1843, allocations: 67.55 kB / 0.7074 GB, free: 7.695 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002008/0.1845, allocations: 135.3 kB / 0.7076 GB, free: 7.562 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.1845, allocations: 0 / 0.7076 GB, free: 7.562 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.482e-06/0.1845, allocations: 0 / 0.7076 GB, free: 7.562 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.4e-06/0.1845, allocations: 4 kB / 0.7076 GB, free: 7.559 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0007193/0.1853, allocations: 486.4 kB / 0.708 GB, free: 7.035 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.602e-05/0.1853, allocations: 8.031 kB / 0.708 GB, free: 7.027 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.536e-05/0.1853, allocations: 46.73 kB / 0.7081 GB, free: 6.973 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.958e-05/0.1854, allocations: 20.84 kB / 0.7081 GB, free: 6.953 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003166/0.1857, allocations: 240 kB / 0.7083 GB, free: 6.68 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.984e-05/0.1857, allocations: 12.38 kB / 0.7084 GB, free: 6.668 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.938e-05/0.1858, allocations: 12.38 kB / 0.7084 GB, free: 6.656 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003035/0.1861, allocations: 147.8 kB / 0.7085 GB, free: 6.492 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.1861, allocations: 0 / 0.7085 GB, free: 6.492 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.355e-05/0.1861, allocations: 8 kB / 0.7085 GB, free: 6.484 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.843e-06/0.1861, allocations: 4 kB / 0.7085 GB, free: 6.48 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002269/0.1863, allocations: 67.88 kB / 0.7086 GB, free: 6.414 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009378/0.1872, allocations: 0.7395 MB / 0.7093 GB, free: 5.609 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001472/0.1874, allocations: 50.48 kB / 0.7094 GB, free: 5.551 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001025/0.1875, allocations: 32.83 kB / 0.7094 GB, free: 5.516 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.551e-05/0.1875, allocations: 8 kB / 0.7094 GB, free: 5.508 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002467/0.1878, allocations: 114.7 kB / 0.7095 GB, free: 5.371 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=11): time 1.333e-06/0.1878, allocations: 0 / 0.7095 GB, free: 5.371 MB / 0.5294 GB Notification: Performance of matching and sorting (n=11): time 0.00047/0.1882, allocations: 169.8 kB / 0.7097 GB, free: 5.199 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.392e-05/0.1883, allocations: 136.5 kB / 0.7098 GB, free: 5.035 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002005/0.1885, allocations: 206.9 kB / 0.71 GB, free: 4.82 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.74e-05/0.1886, allocations: 25.7 kB / 0.71 GB, free: 4.789 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 9.717e-05/0.1887, allocations: 128 kB / 0.7101 GB, free: 4.66 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 4.075e-05/0.1887, allocations: 47.77 kB / 0.7102 GB, free: 4.613 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.987e-05/0.1888, allocations: 37.7 kB / 0.7102 GB, free: 4.57 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001566/0.1889, allocations: 330.9 kB / 0.7105 GB, free: 4.238 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001176/0.189, allocations: 39.97 kB / 0.7106 GB, free: 4.199 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002246/0.1893, allocations: 153.8 kB / 0.7107 GB, free: 4 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003498/0.1896, allocations: 210.2 kB / 0.7109 GB, free: 3.742 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.584e-06/0.1896, allocations: 0 / 0.7109 GB, free: 3.742 MB / 0.5294 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004129/0.19, allocations: 209.1 kB / 0.7111 GB, free: 3.531 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.708e-05/0.19, allocations: 4 kB / 0.7111 GB, free: 3.527 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.017e-05/0.1901, allocations: 7.984 kB / 0.7111 GB, free: 3.52 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.035e-05/0.1901, allocations: 8 kB / 0.7111 GB, free: 3.512 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001252/0.1902, allocations: 32.42 kB / 0.7112 GB, free: 3.48 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.968e-06/0.1902, allocations: 12.25 kB / 0.7112 GB, free: 3.469 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001319/0.1903, allocations: 23.88 kB / 0.7112 GB, free: 3.445 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.053e-05/0.1904, allocations: 16 kB / 0.7112 GB, free: 3.43 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 9 (sampleTrigger.y,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,booleanPulse.y,$whenCondition3,intDef.trigger_internal,intNoReset.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 21 * 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.0001317/0.1905, allocations: 138.2 kB / 0.7114 GB, free: 3.285 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.164e-05/0.1905, allocations: 19.91 kB / 0.7114 GB, free: 3.266 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.948e-05/0.1906, allocations: 17.41 kB / 0.7114 GB, free: 3.246 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.1906, allocations: 0 / 0.7114 GB, free: 3.246 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.102e-06/0.1906, allocations: 7.984 kB / 0.7114 GB, free: 3.238 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.1906, allocations: 4 kB / 0.7114 GB, free: 3.234 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008105/0.1914, allocations: 0.5054 MB / 0.7119 GB, free: 2.672 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.479e-06/0.1914, allocations: 4 kB / 0.7119 GB, free: 2.668 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000118/0.1915, allocations: 23.92 kB / 0.7119 GB, free: 2.645 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.1915, allocations: 0 / 0.7119 GB, free: 2.645 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.375e-05/0.1915, allocations: 8 kB / 0.7119 GB, free: 2.637 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.968e-06/0.1915, allocations: 3.938 kB / 0.7119 GB, free: 2.633 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.1915, allocations: 0 / 0.7119 GB, free: 2.633 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000534/0.1921, allocations: 364.2 kB / 0.7123 GB, free: 2.254 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 6.943e-05/0.1921, allocations: 89.02 kB / 0.7124 GB, free: 2.148 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.485e-05/0.1922, allocations: 4 kB / 0.7124 GB, free: 2.145 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001617/0.1923, allocations: 19.95 kB / 0.7124 GB, free: 2.125 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.886e-05/0.1924, allocations: 15.98 kB / 0.7124 GB, free: 2.109 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.926e-06/0.1924, allocations: 4 kB / 0.7124 GB, free: 2.105 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0001184/0.1925, allocations: 136.6 kB / 0.7125 GB, free: 1.973 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.1925, allocations: 0 / 0.7125 GB, free: 1.973 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0003163/0.1928, allocations: 32 kB / 0.7126 GB, free: 1.941 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (intWitRes2.y,intWitRes1.y,intNoReset.y,intDef.y) * Number of discrete variables: 6 (booleanPulse.y,$whenCondition3,$whenCondition1,booleanPulse.pulseStart,sampleTrigger.y,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0008685/0.1937, allocations: 0.9123 MB / 0.7135 GB, free: 0.9961 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0003039/0.194, allocations: 108.7 kB / 0.7136 GB, free: 0.8906 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.194, allocations: 0 / 0.7136 GB, free: 0.8906 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001357/0.1941, allocations: 56.02 kB / 0.7136 GB, free: 0.8359 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005349/0.1947, allocations: 71.45 kB / 0.7137 GB, free: 0.7734 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002733/0.1974, allocations: 2.273 MB / 0.7159 GB, free: 14.31 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000383/0.1978, allocations: 0.7281 MB / 0.7166 GB, free: 13.55 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 7.938e-05/0.1979, allocations: 17.55 kB / 0.7166 GB, free: 13.54 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.114e-05/0.198, allocations: 51.42 kB / 0.7167 GB, free: 13.48 MB / 0.545 GB Notification: Performance of SimCode: time 7.61e-07/0.198, allocations: 0 / 0.7167 GB, free: 13.48 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02813/0.2261, allocations: 4.066 MB / 0.7206 GB, free: 9.555 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.156/8.382, allocations: 5.281 kB / 0.7207 GB, free: 9.551 MB / 0.545 GB " [Timeout remaining time 652] (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_IntegratorWithReset_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_IntegratorWithReset.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.911310016177595] Failed to read output from testmodel.py, exit status != 0: 8.450587254948914 8.472811327 8.284349994 Calling exit ...