Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.IO.Files.WeeklySchedule.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.0009834/0.0009834, allocations: 80.44 kB / 19.17 MB, free: 0.7344 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.001026/0.001026, allocations: 165.9 kB / 22.45 MB, free: 2.098 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.9332/0.9332, allocations: 177.1 MB / 202.8 MB, free: 5.746 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.7423/0.7423, allocations: 154.6 MB / 413.7 MB, free: 0.8398 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.Utilities.IO.Files.WeeklySchedule,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_IO_Files_WeeklySchedule",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.IO.Files.WeeklySchedule,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_IO_Files_WeeklySchedule",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.793e-06/1.793e-06, allocations: 0 / 0.618 GB, free: 13.77 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.167e-05/2.346e-05, allocations: 4.953 kB / 0.618 GB, free: 13.77 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.WeeklySchedule): time 0.001845/0.001869, allocations: 1.375 MB / 0.6194 GB, free: 12.38 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0001163/0.001985, allocations: 39.77 kB / 0.6194 GB, free: 12.34 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.881e-05/0.002024, allocations: 0 / 0.6194 GB, free: 12.34 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0001691/0.002193, allocations: 11.92 kB / 0.6194 GB, free: 12.33 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.000108/0.002301, allocations: 8 kB / 0.6194 GB, free: 12.32 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 4.097e-06/0.002305, allocations: 3.938 kB / 0.6194 GB, free: 12.32 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 6.102e-05/0.002366, allocations: 19.86 kB / 0.6195 GB, free: 12.3 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 4.265e-05/0.002409, allocations: 3.984 kB / 0.6195 GB, free: 12.3 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 4.367e-05/0.002453, allocations: 8 kB / 0.6195 GB, free: 12.29 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 4.96e-05/0.002502, allocations: 7.984 kB / 0.6195 GB, free: 12.28 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.161e-05/0.002524, allocations: 7.938 kB / 0.6195 GB, free: 12.27 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 4.453e-05/0.002568, allocations: 11.94 kB / 0.6195 GB, free: 12.26 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 3.988e-05/0.002608, allocations: 4 kB / 0.6195 GB, free: 12.26 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.755e-05/0.002626, allocations: 7.984 kB / 0.6195 GB, free: 12.25 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 9.618e-05/0.002722, allocations: 23.84 kB / 0.6195 GB, free: 12.23 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.002725, allocations: 0 / 0.6195 GB, free: 12.23 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.605e-06/0.002728, allocations: 4 kB / 0.6195 GB, free: 12.22 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.167e-06/0.002732, allocations: 0 / 0.6195 GB, free: 12.22 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002636/0.002995, allocations: 254.3 kB / 0.6198 GB, free: 11.94 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.737e-05/0.003033, allocations: 9.469 kB / 0.6198 GB, free: 11.93 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.472e-05/0.003087, allocations: 30.75 kB / 0.6198 GB, free: 11.89 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.483e-05/0.003112, allocations: 12.89 kB / 0.6198 GB, free: 11.88 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001255/0.003238, allocations: 113.8 kB / 0.6199 GB, free: 11.75 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.384e-06/0.003245, allocations: 384 / 0.6199 GB, free: 11.75 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.083e-06/0.003252, allocations: 384 / 0.6199 GB, free: 11.75 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.678e-05/0.003329, allocations: 34.27 kB / 0.62 GB, free: 11.71 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.552e-06/0.003335, allocations: 192 / 0.62 GB, free: 11.71 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.683e-06/0.003342, allocations: 4.312 kB / 0.62 GB, free: 11.7 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.493e-05/0.003357, allocations: 4.125 kB / 0.62 GB, free: 11.7 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.761e-05/0.003375, allocations: 7.984 kB / 0.62 GB, free: 11.69 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002207/0.003595, allocations: 208.1 kB / 0.6202 GB, free: 11.45 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 3.852e-05/0.003634, allocations: 22.58 kB / 0.6202 GB, free: 11.41 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.336e-05/0.003647, allocations: 4.859 kB / 0.6202 GB, free: 11.41 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.597e-05/0.003663, allocations: 3.938 kB / 0.6202 GB, free: 11.4 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2e-05/0.003683, allocations: 46.44 kB / 0.6203 GB, free: 11.35 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=1): time 9.92e-07/0.003684, allocations: 0 / 0.6203 GB, free: 11.35 MB / 0.5886 GB Notification: Performance of matching and sorting (n=1): time 0.0001177/0.003802, allocations: 45.62 kB / 0.6203 GB, free: 11.3 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.024e-05/0.003832, allocations: 55.41 kB / 0.6203 GB, free: 11.23 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.854e-05/0.003911, allocations: 109.8 kB / 0.6205 GB, free: 11.11 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 9.088e-06/0.00392, allocations: 25.7 kB / 0.6205 GB, free: 11.08 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.295e-05/0.003953, allocations: 88.08 kB / 0.6206 GB, free: 10.99 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.55e-05/0.003968, allocations: 16.06 kB / 0.6206 GB, free: 10.98 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.26e-05/0.003991, allocations: 13.7 kB / 0.6206 GB, free: 10.96 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.8e-05/0.004069, allocations: 314.8 kB / 0.6209 GB, free: 10.64 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.162e-05/0.00408, allocations: 4 kB / 0.6209 GB, free: 10.64 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.372e-06/0.004087, allocations: 3.938 kB / 0.6209 GB, free: 10.63 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.852e-05/0.004105, allocations: 8.859 kB / 0.6209 GB, free: 10.62 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.004107, allocations: 0 / 0.6209 GB, free: 10.62 MB / 0.5886 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.644e-05/0.004153, allocations: 45.62 kB / 0.6209 GB, free: 10.57 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.161e-05/0.004165, allocations: 4 kB / 0.621 GB, free: 10.57 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.00417, allocations: 4.094 kB / 0.621 GB, free: 10.56 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.103e-05/0.004181, allocations: 4 kB / 0.621 GB, free: 10.56 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.784e-05/0.004229, allocations: 0 / 0.621 GB, free: 10.56 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.109e-06/0.004234, allocations: 0 / 0.621 GB, free: 10.56 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.151e-05/0.004245, allocations: 4 kB / 0.621 GB, free: 10.55 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.609e-06/0.00425, allocations: 0 / 0.621 GB, free: 10.55 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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.067e-05/0.004301, allocations: 110.8 kB / 0.6211 GB, free: 10.44 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.362e-05/0.004314, allocations: 11.86 kB / 0.6211 GB, free: 10.43 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.119e-05/0.004386, allocations: 41.17 kB / 0.6211 GB, free: 10.38 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.004387, allocations: 0 / 0.6211 GB, free: 10.38 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.004391, allocations: 4.031 kB / 0.6211 GB, free: 10.37 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.004394, allocations: 4 kB / 0.6211 GB, free: 10.37 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.935e-05/0.004494, allocations: 128.7 kB / 0.6213 GB, free: 10.2 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.004495, allocations: 0 / 0.6213 GB, free: 10.2 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.095e-06/0.004503, allocations: 0 / 0.6213 GB, free: 10.2 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.004506, allocations: 7.922 kB / 0.6213 GB, free: 10.19 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.125e-06/0.004514, allocations: 8 kB / 0.6213 GB, free: 10.18 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.004515, allocations: 320 / 0.6213 GB, free: 10.18 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.004516, allocations: 0 / 0.6213 GB, free: 10.18 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.311e-05/0.004579, allocations: 131.4 kB / 0.6214 GB, free: 10.04 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 8.276e-06/0.004588, allocations: 7.969 kB / 0.6214 GB, free: 10.03 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.137e-05/0.004599, allocations: 7.984 kB / 0.6214 GB, free: 10.02 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.326e-05/0.004622, allocations: 0 / 0.6214 GB, free: 10.02 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.113e-05/0.004634, allocations: 0 / 0.6214 GB, free: 10.02 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.884e-06/0.004635, allocations: 0 / 0.6214 GB, free: 10.02 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 4.21e-05/0.004677, allocations: 95.27 kB / 0.6215 GB, free: 9.93 MB / 0.5886 GB Notification: Performance of sort global known variables: time 6e-08/0.004678, allocations: 3.938 kB / 0.6215 GB, free: 9.926 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001561/0.004834, allocations: 7.984 kB / 0.6215 GB, free: 9.918 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * 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.0003897/0.005223, allocations: 0.6847 MB / 0.6222 GB, free: 9.207 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 6.767e-05/0.005291, allocations: 7.938 kB / 0.6222 GB, free: 9.199 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.704e-06/0.005293, allocations: 0 / 0.6222 GB, free: 9.199 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 3.847e-06/0.005297, allocations: 0 / 0.6222 GB, free: 9.199 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001579/0.005455, allocations: 5.875 kB / 0.6222 GB, free: 9.195 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007251/0.00618, allocations: 1.175 MB / 0.6233 GB, free: 7.938 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.297e-05/0.006223, allocations: 67.34 kB / 0.6234 GB, free: 7.852 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 7.461e-05/0.006297, allocations: 4 kB / 0.6234 GB, free: 7.848 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.294e-05/0.00633, allocations: 16.48 kB / 0.6234 GB, free: 7.832 MB / 0.5886 GB Notification: Performance of SimCode: time 6.21e-07/0.006331, allocations: 0 / 0.6234 GB, free: 7.832 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01695/0.02329, allocations: 2.05 MB / 0.6254 GB, free: 5.93 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.992/7.015, allocations: 0.9375 kB / 0.6254 GB, free: 5.93 MB / 0.5886 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Utilities.IO.Files.WeeklySchedule.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.IO.Files.WeeklySchedule.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.IO.Files.WeeklySchedule.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.IO.Files.WeeklySchedule.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Utilities.IO.Files.WeeklySchedule_res.csv --start-time -10000 --stop-time 1e+06 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 100 IDEAS_dev_IDEAS_Utilities_IO_Files_WeeklySchedule.fmu > IDEAS_dev_IDEAS.Utilities.IO.Files.WeeklySchedule.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 9.879035875201225] Failed to read output from testmodel.py, exit status != 0: 7.100357828661799 7.110001853 7.105634633 Calling exit ...