Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.001172/0.001172, 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.001598/0.001598, 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.9262/0.9262, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7271/0.7271, allocations: 154.6 MB / 413.7 MB, free: 0.832 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 master/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_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.775e-06/2.775e-06, allocations: 0 / 0.6181 GB, free: 13.68 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.494e-05/2.771e-05, allocations: 2.281 kB / 0.6181 GB, free: 13.67 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime): time 0.003241/0.003269, allocations: 1.614 MB / 0.6196 GB, free: 12.05 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0011/0.004369, allocations: 0.5531 MB / 0.6202 GB, free: 11.49 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.454e-05/0.004443, allocations: 4 kB / 0.6202 GB, free: 11.49 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 4.181e-05/0.004485, allocations: 7.922 kB / 0.6202 GB, free: 11.48 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0003042/0.004789, allocations: 39.7 kB / 0.6202 GB, free: 11.44 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002261/0.005015, allocations: 55.75 kB / 0.6203 GB, free: 11.39 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001523/0.005168, allocations: 107.6 kB / 0.6204 GB, free: 11.28 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000123/0.005291, allocations: 19.97 kB / 0.6204 GB, free: 11.26 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002331/0.005524, allocations: 75.75 kB / 0.6205 GB, free: 11.19 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001137/0.005638, allocations: 39.89 kB / 0.6205 GB, free: 11.15 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.534e-05/0.005663, allocations: 8 kB / 0.6205 GB, free: 11.14 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 6.192e-05/0.005725, allocations: 19.97 kB / 0.6205 GB, free: 11.12 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 3.013e-05/0.005755, allocations: 19.92 kB / 0.6206 GB, free: 11.1 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 5.68e-05/0.005812, allocations: 35.91 kB / 0.6206 GB, free: 11.07 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001867/0.005998, allocations: 111.6 kB / 0.6207 GB, free: 10.96 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.006002, allocations: 0 / 0.6207 GB, free: 10.96 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.493e-06/0.006003, allocations: 0 / 0.6207 GB, free: 10.96 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.539e-06/0.006008, allocations: 0 / 0.6207 GB, free: 10.96 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.000697/0.006705, allocations: 326 kB / 0.621 GB, free: 10.61 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.398e-05/0.006749, allocations: 13.47 kB / 0.621 GB, free: 10.6 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.414e-05/0.006793, allocations: 34.75 kB / 0.6211 GB, free: 10.55 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001605/0.006953, allocations: 20.88 kB / 0.6211 GB, free: 10.54 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000131/0.007084, allocations: 125.6 kB / 0.6212 GB, free: 10.39 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.854e-05/0.007103, allocations: 4.375 kB / 0.6212 GB, free: 10.38 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.641e-05/0.007119, allocations: 4.375 kB / 0.6212 GB, free: 10.38 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001878/0.007307, allocations: 98.08 kB / 0.6213 GB, free: 10.28 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.007318, allocations: 4.188 kB / 0.6213 GB, free: 10.27 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.403e-05/0.007332, allocations: 4.125 kB / 0.6213 GB, free: 10.27 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.007337, allocations: 0 / 0.6213 GB, free: 10.27 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001256/0.007463, allocations: 47.97 kB / 0.6214 GB, free: 10.22 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004876/0.00795, allocations: 299.7 kB / 0.6216 GB, free: 9.887 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00031/0.00826, allocations: 90.73 kB / 0.6217 GB, free: 9.789 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.218e-05/0.008342, allocations: 48.77 kB / 0.6218 GB, free: 9.738 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.712e-05/0.00836, allocations: 0 / 0.6218 GB, free: 9.738 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002364/0.008596, allocations: 103.3 kB / 0.6219 GB, free: 9.625 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=11): time 2.094e-06/0.008598, allocations: 0 / 0.6219 GB, free: 9.625 MB / 0.5886 GB Notification: Performance of matching and sorting (n=11): time 0.000362/0.00896, allocations: 152.6 kB / 0.622 GB, free: 9.473 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.121e-05/0.009001, allocations: 55.41 kB / 0.6221 GB, free: 9.406 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00011/0.009111, allocations: 125.8 kB / 0.6222 GB, free: 9.273 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.655e-05/0.009128, allocations: 25.7 kB / 0.6222 GB, free: 9.242 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 5.438e-05/0.009182, allocations: 100.4 kB / 0.6223 GB, free: 9.137 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 4.019e-05/0.009222, allocations: 31.73 kB / 0.6223 GB, free: 9.105 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.254e-05/0.009275, allocations: 29.7 kB / 0.6224 GB, free: 9.07 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.068e-05/0.009356, allocations: 318.8 kB / 0.6227 GB, free: 8.75 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.562e-05/0.009401, allocations: 31.98 kB / 0.6227 GB, free: 8.719 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.008e-05/0.009441, allocations: 31.98 kB / 0.6227 GB, free: 8.688 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.633e-05/0.009528, allocations: 64.84 kB / 0.6228 GB, free: 8.621 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.009529, allocations: 0 / 0.6228 GB, free: 8.621 MB / 0.5886 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001312/0.009661, allocations: 112.8 kB / 0.6229 GB, free: 8.508 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.244e-05/0.009673, allocations: 4 kB / 0.6229 GB, free: 8.504 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.009678, allocations: 0 / 0.6229 GB, free: 8.504 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.194e-05/0.00969, allocations: 4 kB / 0.6229 GB, free: 8.5 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.463e-05/0.009764, allocations: 15.98 kB / 0.6229 GB, free: 8.484 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.00977, allocations: 0 / 0.6229 GB, free: 8.484 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.865e-05/0.009828, allocations: 19.98 kB / 0.6229 GB, free: 8.465 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.985e-06/0.009836, allocations: 0 / 0.6229 GB, free: 8.465 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 7.001e-05/0.009906, allocations: 126.8 kB / 0.6231 GB, free: 8.332 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.095e-05/0.009917, allocations: 7.953 kB / 0.6231 GB, free: 8.324 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002035/0.01012, allocations: 161.9 kB / 0.6232 GB, free: 8.156 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.01012, allocations: 0 / 0.6232 GB, free: 8.156 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.01013, allocations: 8 kB / 0.6232 GB, free: 8.148 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-06/0.01013, allocations: 0 / 0.6232 GB, free: 8.148 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001175/0.01025, allocations: 172.6 kB / 0.6234 GB, free: 7.938 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.01025, allocations: 0 / 0.6234 GB, free: 7.938 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.272e-05/0.01029, allocations: 19.98 kB / 0.6234 GB, free: 7.918 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.335e-06/0.0103, allocations: 0 / 0.6234 GB, free: 7.918 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.398e-06/0.01031, allocations: 4 kB / 0.6234 GB, free: 7.914 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.01031, allocations: 4 kB / 0.6234 GB, free: 7.91 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.01031, allocations: 3.938 kB / 0.6234 GB, free: 7.906 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001552/0.01046, allocations: 168.9 kB / 0.6236 GB, free: 7.723 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 1.372e-05/0.01048, allocations: 7.953 kB / 0.6236 GB, free: 7.715 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.774e-05/0.0105, allocations: 8 kB / 0.6236 GB, free: 7.707 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.908e-05/0.01054, allocations: 7.984 kB / 0.6236 GB, free: 7.699 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.942e-05/0.01058, allocations: 7.984 kB / 0.6236 GB, free: 7.691 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.541e-05/0.0106, allocations: 15.98 kB / 0.6236 GB, free: 7.676 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.934e-05/0.01064, allocations: 91.28 kB / 0.6237 GB, free: 7.586 MB / 0.5886 GB Notification: Performance of sort global known variables: time 6e-08/0.01064, allocations: 0 / 0.6237 GB, free: 7.586 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001449/0.01078, allocations: 27.98 kB / 0.6238 GB, free: 7.559 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.0003684/0.01115, allocations: 0.6982 MB / 0.6244 GB, free: 6.832 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001532/0.01131, allocations: 83.53 kB / 0.6245 GB, free: 6.754 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.272e-06/0.01131, allocations: 0 / 0.6245 GB, free: 6.754 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 6.242e-05/0.01137, allocations: 47.97 kB / 0.6246 GB, free: 6.707 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001291/0.0115, allocations: 13.58 kB / 0.6246 GB, free: 6.699 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001068/0.01257, allocations: 1.458 MB / 0.626 GB, free: 5.156 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.707e-05/0.01261, allocations: 79.31 kB / 0.6261 GB, free: 5.059 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 4.365e-05/0.01266, allocations: 16.36 kB / 0.6261 GB, free: 5.043 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.938e-05/0.01272, allocations: 32.48 kB / 0.6261 GB, free: 5.012 MB / 0.5886 GB Notification: Performance of SimCode: time 8.32e-07/0.01272, allocations: 7.938 kB / 0.6261 GB, free: 5.004 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01682/0.02954, allocations: 2.979 MB / 0.629 GB, free: 2.203 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.235/7.264, allocations: 7.234 kB / 0.629 GB, free: 2.199 MB / 0.5886 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.sim & python3 -m fmpy simulate --output-file IDEAS_dev_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_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime.fmu > IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.116288896650076] Failed to read output from testmodel.py, exit status != 0: 7.348151128739119 7.359055466 7.351239503 Calling exit ...