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.001036/0.001036, 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.0009798/0.0009798, allocations: 169.9 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.9166/0.9166, allocations: 177.1 MB / 202.8 MB, free: 5.73 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.7129/0.7129, allocations: 154.6 MB / 413.8 MB, free: 0.8086 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 2.485e-06/2.485e-06, allocations: 0 / 0.6181 GB, free: 13.63 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.294e-05/2.543e-05, allocations: 5.781 kB / 0.6181 GB, free: 13.62 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime): time 0.003152/0.003178, allocations: 1.594 MB / 0.6197 GB, free: 12.02 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001028/0.004206, allocations: 0.5802 MB / 0.6202 GB, free: 11.43 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.46e-05/0.004271, allocations: 4 kB / 0.6203 GB, free: 11.43 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 3.645e-05/0.004307, allocations: 3.938 kB / 0.6203 GB, free: 11.43 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0003058/0.004613, allocations: 47.7 kB / 0.6203 GB, free: 11.38 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001946/0.004808, allocations: 43.83 kB / 0.6203 GB, free: 11.34 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001199/0.004927, allocations: 119.5 kB / 0.6205 GB, free: 11.22 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001012/0.005029, allocations: 12 kB / 0.6205 GB, free: 11.21 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000162/0.005191, allocations: 71.8 kB / 0.6205 GB, free: 11.14 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 8.381e-05/0.005274, allocations: 43.88 kB / 0.6206 GB, free: 11.09 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.019e-05/0.005295, allocations: 8 kB / 0.6206 GB, free: 11.09 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 4.32e-05/0.005338, allocations: 12 kB / 0.6206 GB, free: 11.07 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 2.52e-05/0.005363, allocations: 23.91 kB / 0.6206 GB, free: 11.05 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 4.574e-05/0.005409, allocations: 39.91 kB / 0.6207 GB, free: 11.01 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001469/0.005556, allocations: 111.6 kB / 0.6208 GB, free: 10.9 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.005559, allocations: 0 / 0.6208 GB, free: 10.9 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.503e-06/0.00556, allocations: 0 / 0.6208 GB, free: 10.9 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.969e-06/0.005565, allocations: 0 / 0.6208 GB, free: 10.9 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.0005365/0.006102, allocations: 326 kB / 0.6211 GB, free: 10.55 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.697e-05/0.006139, allocations: 8.031 kB / 0.6211 GB, free: 10.55 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.346e-05/0.006172, allocations: 38.73 kB / 0.6211 GB, free: 10.5 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000102/0.006274, allocations: 20.89 kB / 0.6211 GB, free: 10.48 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.162e-05/0.006366, allocations: 125.7 kB / 0.6213 GB, free: 10.33 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.412e-05/0.00638, allocations: 4.375 kB / 0.6213 GB, free: 10.33 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.34e-05/0.006393, allocations: 4.375 kB / 0.6213 GB, free: 10.32 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001323/0.006526, allocations: 94.08 kB / 0.6214 GB, free: 10.23 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.304e-06/0.006533, allocations: 192 / 0.6214 GB, free: 10.23 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.018e-05/0.006543, allocations: 4.125 kB / 0.6214 GB, free: 10.22 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.006547, allocations: 0 / 0.6214 GB, free: 10.22 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.491e-05/0.006632, allocations: 55.95 kB / 0.6214 GB, free: 10.17 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003754/0.007008, allocations: 299.7 kB / 0.6217 GB, free: 9.832 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002236/0.007231, allocations: 94.72 kB / 0.6218 GB, free: 9.73 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.259e-05/0.007284, allocations: 40.84 kB / 0.6218 GB, free: 9.688 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.393e-05/0.007298, allocations: 0 / 0.6218 GB, free: 9.688 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001838/0.007482, allocations: 107.2 kB / 0.6219 GB, free: 9.57 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=11): time 1.082e-06/0.007483, allocations: 0 / 0.6219 GB, free: 9.57 MB / 0.5886 GB Notification: Performance of matching and sorting (n=11): time 0.0002579/0.007741, allocations: 145.6 kB / 0.6221 GB, free: 9.422 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.907e-05/0.00777, allocations: 55.41 kB / 0.6221 GB, free: 9.355 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.995e-05/0.00784, allocations: 124.7 kB / 0.6222 GB, free: 9.227 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.14e-05/0.007851, allocations: 29.7 kB / 0.6223 GB, free: 9.191 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.084e-05/0.007892, allocations: 104.4 kB / 0.6224 GB, free: 9.082 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.739e-05/0.007919, allocations: 27.75 kB / 0.6224 GB, free: 9.055 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.507e-05/0.007954, allocations: 33.64 kB / 0.6224 GB, free: 9.016 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.962e-05/0.008034, allocations: 326.8 kB / 0.6227 GB, free: 8.688 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.988e-05/0.008074, allocations: 27.92 kB / 0.6228 GB, free: 8.66 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.921e-05/0.008113, allocations: 31.98 kB / 0.6228 GB, free: 8.629 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.103e-05/0.008194, allocations: 60.86 kB / 0.6229 GB, free: 8.566 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.008196, allocations: 0 / 0.6229 GB, free: 8.566 MB / 0.5886 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001279/0.008324, allocations: 112.5 kB / 0.623 GB, free: 8.453 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.264e-05/0.008336, allocations: 8 kB / 0.623 GB, free: 8.445 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.008341, allocations: 4 kB / 0.623 GB, free: 8.441 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.168e-05/0.008352, allocations: 0 / 0.623 GB, free: 8.441 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.034e-05/0.008423, allocations: 23.92 kB / 0.623 GB, free: 8.418 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.008428, allocations: 0 / 0.623 GB, free: 8.418 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.499e-05/0.008493, allocations: 8 kB / 0.623 GB, free: 8.41 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.21e-05/0.008505, allocations: 4 kB / 0.623 GB, free: 8.406 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 8.034e-05/0.008585, allocations: 122.8 kB / 0.6231 GB, free: 8.277 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.302e-05/0.008598, allocations: 7.953 kB / 0.6231 GB, free: 8.27 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000204/0.008802, allocations: 158 kB / 0.6233 GB, free: 8.105 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.008805, allocations: 4 kB / 0.6233 GB, free: 8.102 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.008809, allocations: 0 / 0.6233 GB, free: 8.102 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.008813, allocations: 0 / 0.6233 GB, free: 8.102 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001168/0.008929, allocations: 176.6 kB / 0.6235 GB, free: 7.887 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.806e-06/0.008932, allocations: 4 kB / 0.6235 GB, free: 7.883 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.385e-05/0.008976, allocations: 12 kB / 0.6235 GB, free: 7.871 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.125e-06/0.008979, allocations: 3.984 kB / 0.6235 GB, free: 7.867 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.07e-05/0.00899, allocations: 8 kB / 0.6235 GB, free: 7.859 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.008992, allocations: 0 / 0.6235 GB, free: 7.859 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.008993, allocations: 0 / 0.6235 GB, free: 7.859 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001523/0.009145, allocations: 172.9 kB / 0.6236 GB, free: 7.672 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 1.291e-05/0.009158, allocations: 3.953 kB / 0.6237 GB, free: 7.668 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.795e-05/0.009176, allocations: 11.98 kB / 0.6237 GB, free: 7.656 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.831e-05/0.009224, allocations: 4 kB / 0.6237 GB, free: 7.652 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.968e-05/0.009264, allocations: 15.97 kB / 0.6237 GB, free: 7.637 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.276e-05/0.009277, allocations: 7.938 kB / 0.6237 GB, free: 7.629 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 4.64e-05/0.009323, allocations: 95.27 kB / 0.6238 GB, free: 7.535 MB / 0.5886 GB Notification: Performance of sort global known variables: time 7e-08/0.009323, allocations: 0 / 0.6238 GB, free: 7.535 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001398/0.009463, allocations: 24 kB / 0.6238 GB, free: 7.512 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.0003413/0.009804, allocations: 0.7089 MB / 0.6245 GB, free: 6.777 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001398/0.009944, allocations: 75.97 kB / 0.6246 GB, free: 6.703 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.222e-06/0.009945, allocations: 7.938 kB / 0.6246 GB, free: 6.695 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 5.809e-05/0.01, allocations: 43.92 kB / 0.6246 GB, free: 6.652 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001229/0.01013, allocations: 8 kB / 0.6246 GB, free: 6.645 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00109/0.01122, allocations: 1.464 MB / 0.6261 GB, free: 5.102 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.317e-05/0.01127, allocations: 87.22 kB / 0.6261 GB, free: 4.996 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 4.578e-05/0.01132, allocations: 20.33 kB / 0.6262 GB, free: 4.977 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.746e-05/0.01138, allocations: 36.48 kB / 0.6262 GB, free: 4.941 MB / 0.5886 GB Notification: Performance of SimCode: time 7.21e-07/0.01138, allocations: 0 / 0.6262 GB, free: 4.941 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.016/0.02739, allocations: 2.974 MB / 0.6291 GB, free: 2.152 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.051/7.078, allocations: 6.234 kB / 0.6291 GB, free: 2.148 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 & python3 -m fmpy simulate --output-file IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime_res.csv --start-time 0 --stop-time 864000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 345.6 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.872993766330183] Failed to read output from testmodel.py, exit status != 0: 7.163674994371831 7.177863201 7.169675868 Calling exit ...