Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.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.0007594/0.0007594, 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.0008185/0.0008185, 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.9253/0.9253, allocations: 177.1 MB / 202.8 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7456/0.7456, allocations: 154.6 MB / 413.8 MB, free: 0.8164 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.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(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 3.938 kB / 0.6181 GB, free: 13.66 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.773e-05/1.946e-05, allocations: 6 kB / 0.6181 GB, free: 13.66 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime): time 0.001977/0.001996, allocations: 1.601 MB / 0.6197 GB, free: 12.05 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0007353/0.002732, allocations: 0.5687 MB / 0.6202 GB, free: 11.48 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.71e-05/0.002779, allocations: 0 / 0.6202 GB, free: 11.48 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.833e-05/0.002807, allocations: 11.92 kB / 0.6203 GB, free: 11.46 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0002154/0.003023, allocations: 39.72 kB / 0.6203 GB, free: 11.43 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001371/0.00316, allocations: 43.81 kB / 0.6203 GB, free: 11.38 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001006/0.00326, allocations: 119.5 kB / 0.6205 GB, free: 11.27 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 9.077e-05/0.003351, allocations: 11.98 kB / 0.6205 GB, free: 11.25 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001505/0.003501, allocations: 71.81 kB / 0.6205 GB, free: 11.18 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 8.234e-05/0.003584, allocations: 43.88 kB / 0.6206 GB, free: 11.14 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.804e-05/0.003602, allocations: 8 kB / 0.6206 GB, free: 11.13 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 4.499e-05/0.003647, allocations: 19.98 kB / 0.6206 GB, free: 11.11 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 2.069e-05/0.003668, allocations: 23.91 kB / 0.6206 GB, free: 11.09 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 4.201e-05/0.00371, allocations: 31.92 kB / 0.6207 GB, free: 11.06 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001365/0.003846, allocations: 111.6 kB / 0.6208 GB, free: 10.95 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.165e-06/0.003848, allocations: 0 / 0.6208 GB, free: 10.95 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.002e-06/0.003849, allocations: 0 / 0.6208 GB, free: 10.95 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.907e-06/0.003853, allocations: 0 / 0.6208 GB, free: 10.95 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0004807/0.004334, allocations: 330 kB / 0.6211 GB, free: 10.6 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.729e-05/0.004381, allocations: 8.031 kB / 0.6211 GB, free: 10.59 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.425e-05/0.004415, allocations: 38.75 kB / 0.6211 GB, free: 10.54 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001006/0.004516, allocations: 16.88 kB / 0.6211 GB, free: 10.53 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.587e-05/0.004612, allocations: 125.7 kB / 0.6213 GB, free: 10.38 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.401e-05/0.004626, allocations: 8.375 kB / 0.6213 GB, free: 10.37 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.154e-05/0.004637, allocations: 4.375 kB / 0.6213 GB, free: 10.37 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001304/0.004768, allocations: 90.08 kB / 0.6214 GB, free: 10.27 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.654e-06/0.004775, allocations: 4.188 kB / 0.6214 GB, free: 10.27 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.254e-05/0.004788, allocations: 8.125 kB / 0.6214 GB, free: 10.26 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.004793, allocations: 7.938 kB / 0.6214 GB, free: 10.25 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.996e-05/0.004873, allocations: 43.97 kB / 0.6214 GB, free: 10.21 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003658/0.005239, allocations: 303.7 kB / 0.6217 GB, free: 9.871 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002166/0.005456, allocations: 90.73 kB / 0.6218 GB, free: 9.773 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.558e-05/0.005511, allocations: 44.77 kB / 0.6218 GB, free: 9.727 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.415e-05/0.005525, allocations: 0 / 0.6218 GB, free: 9.727 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000155/0.005681, allocations: 95.3 kB / 0.6219 GB, free: 9.621 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=11): time 1.011e-06/0.005682, allocations: 4 kB / 0.6219 GB, free: 9.617 MB / 0.5886 GB Notification: Performance of matching and sorting (n=11): time 0.0002454/0.005927, allocations: 145.6 kB / 0.6221 GB, free: 9.469 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.178e-05/0.005959, allocations: 59.34 kB / 0.6221 GB, free: 9.398 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.095e-05/0.00603, allocations: 129.5 kB / 0.6222 GB, free: 9.266 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.353e-05/0.006043, allocations: 25.7 kB / 0.6223 GB, free: 9.234 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.981e-05/0.006083, allocations: 96.41 kB / 0.6224 GB, free: 9.133 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 3.053e-05/0.006114, allocations: 43.66 kB / 0.6224 GB, free: 9.09 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.525e-05/0.006149, allocations: 25.7 kB / 0.6224 GB, free: 9.059 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.691e-05/0.006226, allocations: 322.8 kB / 0.6227 GB, free: 8.734 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.255e-05/0.006268, allocations: 31.98 kB / 0.6228 GB, free: 8.703 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.001e-05/0.006308, allocations: 31.98 kB / 0.6228 GB, free: 8.672 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.268e-05/0.006391, allocations: 67.59 kB / 0.6229 GB, free: 8.605 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.006393, allocations: 0 / 0.6229 GB, free: 8.605 MB / 0.5886 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001178/0.00651, allocations: 109.6 kB / 0.623 GB, free: 8.492 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.046e-05/0.006521, allocations: 4 kB / 0.623 GB, free: 8.488 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.878e-06/0.006525, allocations: 0 / 0.623 GB, free: 8.488 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.776e-06/0.006533, allocations: 0 / 0.623 GB, free: 8.488 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.281e-05/0.006596, allocations: 23.92 kB / 0.623 GB, free: 8.465 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.338e-06/0.006601, allocations: 0 / 0.623 GB, free: 8.465 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.156e-05/0.006652, allocations: 7.984 kB / 0.623 GB, free: 8.457 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.347e-06/0.006662, allocations: 8 kB / 0.623 GB, free: 8.449 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 (eqnTim.tNext,$PRE.eqnTim.tNext,locTim.tNext,$PRE.locTim.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.252e-05/0.006724, allocations: 122.8 kB / 0.6231 GB, free: 8.32 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.228e-05/0.006736, allocations: 7.953 kB / 0.6231 GB, free: 8.312 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001796/0.006916, allocations: 158 kB / 0.6233 GB, free: 8.148 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.006917, allocations: 4 kB / 0.6233 GB, free: 8.145 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.905e-06/0.00692, allocations: 0 / 0.6233 GB, free: 8.145 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.006924, allocations: 3.984 kB / 0.6233 GB, free: 8.141 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001051/0.00703, allocations: 168.6 kB / 0.6235 GB, free: 7.934 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.007031, allocations: 4 kB / 0.6235 GB, free: 7.93 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.872e-05/0.00707, allocations: 15.98 kB / 0.6235 GB, free: 7.914 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.007073, allocations: 8 kB / 0.6235 GB, free: 7.906 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.424e-06/0.007081, allocations: 7.875 kB / 0.6235 GB, free: 7.898 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.007082, allocations: 0 / 0.6235 GB, free: 7.898 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.007082, allocations: 0 / 0.6235 GB, free: 7.898 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001553/0.007238, allocations: 179.3 kB / 0.6237 GB, free: 7.707 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 1.203e-05/0.00725, allocations: 7.953 kB / 0.6237 GB, free: 7.699 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.501e-05/0.007265, allocations: 0 / 0.6237 GB, free: 7.699 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.101e-05/0.007316, allocations: 11.98 kB / 0.6237 GB, free: 7.688 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.925e-05/0.007355, allocations: 7.984 kB / 0.6237 GB, free: 7.68 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.397e-05/0.007369, allocations: 7.984 kB / 0.6237 GB, free: 7.672 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 4.636e-05/0.007415, allocations: 99.28 kB / 0.6238 GB, free: 7.574 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.007415, allocations: 0 / 0.6238 GB, free: 7.574 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001425/0.007558, allocations: 27.98 kB / 0.6238 GB, free: 7.547 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,locTim.tNext,eqnTim.tNext) * Number of discrete states: 2 (locTim.tNext,eqnTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0003769/0.007935, allocations: 0.6982 MB / 0.6245 GB, free: 6.82 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001498/0.008085, allocations: 79.97 kB / 0.6246 GB, free: 6.742 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.008086, allocations: 0 / 0.6246 GB, free: 6.742 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 6.656e-05/0.008153, allocations: 51.28 kB / 0.6246 GB, free: 6.695 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001347/0.008287, allocations: 8 kB / 0.6246 GB, free: 6.688 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001166/0.009454, allocations: 1.465 MB / 0.6261 GB, free: 5.137 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.259e-05/0.009506, allocations: 87.27 kB / 0.6261 GB, free: 5.031 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 3.804e-05/0.009544, allocations: 8.359 kB / 0.6261 GB, free: 5.023 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.014e-05/0.009604, allocations: 32.48 kB / 0.6262 GB, free: 4.992 MB / 0.5886 GB Notification: Performance of SimCode: time 8.12e-07/0.009605, allocations: 4 kB / 0.6262 GB, free: 4.988 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01608/0.02569, allocations: 2.972 MB / 0.6291 GB, free: 2.195 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.625/6.651, allocations: 10.05 kB / 0.6291 GB, free: 2.191 MB / 0.5886 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime_fmu --startTime=0 --stopTime=864000 --stepSize=345.6 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime.fmu > IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.372785288840532] Failed to read output from testmodel.py, exit status != 0: 6.732141580432653 6.740748286 6.735235794 Calling exit ...