Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.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.0007978/0.0007978, 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.001271/0.001271, 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.8984/0.8984, 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.7325/0.7325, allocations: 154.6 MB / 413.7 MB, free: 0.8125 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.LocalCivilTime,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 0.6181 GB, free: 13.63 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.836e-05/1.978e-05, allocations: 5.344 kB / 0.6181 GB, free: 13.62 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime): time 0.001878/0.001897, allocations: 1.495 MB / 0.6196 GB, free: 12.12 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0006008/0.002498, allocations: 482.7 kB / 0.62 GB, free: 11.64 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.109e-05/0.002539, allocations: 0 / 0.62 GB, free: 11.64 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.969e-05/0.002569, allocations: 7.984 kB / 0.62 GB, free: 11.63 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0002247/0.002794, allocations: 31.78 kB / 0.6201 GB, free: 11.6 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 8.645e-05/0.00288, allocations: 19.92 kB / 0.6201 GB, free: 11.58 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 8.229e-05/0.002962, allocations: 51.73 kB / 0.6201 GB, free: 11.53 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 8.785e-05/0.00305, allocations: 7.984 kB / 0.6202 GB, free: 11.52 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001615/0.003212, allocations: 27.97 kB / 0.6202 GB, free: 11.5 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 7.467e-05/0.003286, allocations: 27.84 kB / 0.6202 GB, free: 11.47 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.796e-05/0.003304, allocations: 4 kB / 0.6202 GB, free: 11.46 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 1.004e-05/0.003314, allocations: 4 kB / 0.6202 GB, free: 11.46 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.806e-05/0.003332, allocations: 15.98 kB / 0.6202 GB, free: 11.45 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 3.411e-05/0.003367, allocations: 15.92 kB / 0.6202 GB, free: 11.43 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 8.328e-05/0.00345, allocations: 43.88 kB / 0.6203 GB, free: 11.39 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.954e-06/0.003452, allocations: 0 / 0.6203 GB, free: 11.39 MB / 0.5886 GB Notification: Performance of FrontEnd: time 8.92e-07/0.003453, allocations: 0 / 0.6203 GB, free: 11.39 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.609e-06/0.003457, allocations: 3.984 kB / 0.6203 GB, free: 11.38 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004281/0.003885, allocations: 270.3 kB / 0.6205 GB, free: 11.09 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.723e-05/0.003923, allocations: 8.031 kB / 0.6206 GB, free: 11.08 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.824e-05/0.003951, allocations: 38.75 kB / 0.6206 GB, free: 11.04 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.236e-05/0.003973, allocations: 4.891 kB / 0.6206 GB, free: 11.03 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.332e-05/0.004057, allocations: 117.7 kB / 0.6207 GB, free: 10.89 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.096e-05/0.004068, allocations: 4.375 kB / 0.6207 GB, free: 10.89 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.145e-06/0.004076, allocations: 384 / 0.6207 GB, free: 10.89 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.914e-05/0.004165, allocations: 50.25 kB / 0.6208 GB, free: 10.83 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.636e-06/0.004173, allocations: 12.05 kB / 0.6208 GB, free: 10.82 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.306e-06/0.004182, allocations: 4.125 kB / 0.6208 GB, free: 10.82 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5e-06/0.004187, allocations: 3.938 kB / 0.6208 GB, free: 10.81 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.37e-05/0.00424, allocations: 23.98 kB / 0.6208 GB, free: 10.79 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002719/0.004512, allocations: 232 kB / 0.621 GB, free: 10.52 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 7.932e-05/0.004592, allocations: 38.52 kB / 0.6211 GB, free: 10.47 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.148e-05/0.004623, allocations: 24.94 kB / 0.6211 GB, free: 10.45 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 8.826e-06/0.004632, allocations: 7.938 kB / 0.6211 GB, free: 10.44 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001326/0.004765, allocations: 63.39 kB / 0.6212 GB, free: 10.36 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=5): time 1.082e-06/0.004766, allocations: 0 / 0.6212 GB, free: 10.36 MB / 0.5886 GB Notification: Performance of matching and sorting (n=5): time 0.0001856/0.004951, allocations: 81.67 kB / 0.6212 GB, free: 10.28 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.523e-05/0.004986, allocations: 55.41 kB / 0.6213 GB, free: 10.21 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.958e-05/0.005056, allocations: 113.8 kB / 0.6214 GB, free: 10.09 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.059e-05/0.005067, allocations: 25.7 kB / 0.6214 GB, free: 10.06 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.518e-05/0.005102, allocations: 88.09 kB / 0.6215 GB, free: 9.969 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.25e-05/0.005124, allocations: 15.84 kB / 0.6215 GB, free: 9.953 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.915e-05/0.005153, allocations: 25.7 kB / 0.6215 GB, free: 9.922 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.216e-05/0.005236, allocations: 314.8 kB / 0.6218 GB, free: 9.605 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.288e-05/0.005258, allocations: 12 kB / 0.6219 GB, free: 9.594 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.892e-05/0.005277, allocations: 15.98 kB / 0.6219 GB, free: 9.578 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.566e-05/0.005323, allocations: 33.23 kB / 0.6219 GB, free: 9.543 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.005326, allocations: 3.938 kB / 0.6219 GB, free: 9.539 MB / 0.5886 GB Notification: Performance of matching and sorting (n=6) (initialization): time 7.17e-05/0.005398, allocations: 57.69 kB / 0.622 GB, free: 9.477 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.308e-05/0.005411, allocations: 8 kB / 0.622 GB, free: 9.469 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.005416, allocations: 0 / 0.622 GB, free: 9.469 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.09e-05/0.005427, allocations: 0 / 0.622 GB, free: 9.469 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000146/0.005573, allocations: 19.92 kB / 0.622 GB, free: 9.449 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.005578, allocations: 0 / 0.622 GB, free: 9.449 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.899e-05/0.005617, allocations: 8 kB / 0.622 GB, free: 9.441 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.091e-06/0.005623, allocations: 0 / 0.622 GB, free: 9.441 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: 3 (locTim.tNext,$PRE.locTim.tNext,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * 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.799e-05/0.005681, allocations: 118.8 kB / 0.6221 GB, free: 9.316 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.404e-06/0.005688, allocations: 3.953 kB / 0.6221 GB, free: 9.312 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.846e-05/0.005706, allocations: 12.11 kB / 0.6221 GB, free: 9.301 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.005708, allocations: 0 / 0.6221 GB, free: 9.301 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.828e-06/0.005712, allocations: 0 / 0.6221 GB, free: 9.301 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.005715, allocations: 3.938 kB / 0.6221 GB, free: 9.297 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.822e-05/0.005793, allocations: 140.7 kB / 0.6223 GB, free: 9.117 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.41e-07/0.005794, allocations: 4 kB / 0.6223 GB, free: 9.113 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.306e-05/0.005807, allocations: 8 kB / 0.6223 GB, free: 9.105 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.005808, allocations: 0 / 0.6223 GB, free: 9.105 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.182e-06/0.005815, allocations: 0 / 0.6223 GB, free: 9.105 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.005816, allocations: 3.984 kB / 0.6223 GB, free: 9.102 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.005817, allocations: 0 / 0.6223 GB, free: 9.102 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.697e-05/0.005904, allocations: 108.9 kB / 0.6224 GB, free: 8.977 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 8.396e-06/0.005912, allocations: 0 / 0.6224 GB, free: 8.977 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.293e-05/0.005925, allocations: 4.125 kB / 0.6224 GB, free: 8.973 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.927e-05/0.005955, allocations: 7.984 kB / 0.6224 GB, free: 8.965 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.605e-05/0.005981, allocations: 8 kB / 0.6224 GB, free: 8.957 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.317e-06/0.00599, allocations: 3.984 kB / 0.6224 GB, free: 8.953 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.256e-05/0.006023, allocations: 91.28 kB / 0.6225 GB, free: 8.863 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.006023, allocations: 0 / 0.6225 GB, free: 8.863 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001294/0.006152, allocations: 8 kB / 0.6225 GB, free: 8.855 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: 2 ($whenCondition1,locTim.tNext) * Number of discrete states: 1 (locTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 4 * 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.0002406/0.006393, allocations: 0.6388 MB / 0.6231 GB, free: 8.188 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 8.468e-05/0.006477, allocations: 31.98 kB / 0.6232 GB, free: 8.156 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.363e-06/0.006479, allocations: 0 / 0.6232 GB, free: 8.156 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 2.848e-05/0.006507, allocations: 15.94 kB / 0.6232 GB, free: 8.141 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001117/0.006619, allocations: 20.56 kB / 0.6232 GB, free: 8.125 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007715/0.00739, allocations: 1.219 MB / 0.6244 GB, free: 6.82 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.615e-05/0.007427, allocations: 63.34 kB / 0.6244 GB, free: 6.738 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 2.25e-05/0.007449, allocations: 7.984 kB / 0.6244 GB, free: 6.73 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.624e-05/0.007485, allocations: 16.5 kB / 0.6245 GB, free: 6.715 MB / 0.5886 GB Notification: Performance of SimCode: time 3.81e-07/0.007486, allocations: 0 / 0.6245 GB, free: 6.715 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0133/0.02079, allocations: 2.162 MB / 0.6266 GB, free: 4.719 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.703/6.724, allocations: 9.594 kB / 0.6266 GB, free: 4.715 MB / 0.5886 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime_fmu --startTime=0 --stopTime=172800 --stepSize=69.12 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime.fmu > IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.417681634426117] Failed to read output from testmodel.py, exit status != 0: 6.803743876516819 6.81295336 6.807748846 Calling exit ...