Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.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.001293/0.001293, allocations: 72.45 kB / 19.02 MB, free: 1.109 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.001503/0.001503, allocations: 160 kB / 22.29 MB, free: 3.516 MB / 13.93 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 1.5/1.5, allocations: 177.2 MB / 202.7 MB, free: 4.824 MB / 186.7 MB " [Timeout remaining time 178] 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 1.224/1.224, allocations: 154.7 MB / 413.8 MB, free: 3.148 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.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Reals_Sources_Validation_CivilTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Reals_Sources_Validation_CivilTime",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00262/0.00262, allocations: 66.72 kB / 0.6181 GB, free: 1.117 MB / 0.5105 GB [/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. Notification: Performance of FrontEnd - Absyn->SCode: time 0.2369/0.2396, allocations: 102 MB / 0.7177 GB, free: 11.25 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime): time 0.002284/0.2418, allocations: 0.5687 MB / 0.7182 GB, free: 10.67 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 4.604e-05/0.2419, allocations: 3.938 kB / 0.7182 GB, free: 10.67 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.279e-05/0.2419, allocations: 0 / 0.7182 GB, free: 10.67 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.269e-05/0.2419, allocations: 0 / 0.7182 GB, free: 10.67 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 2.679e-05/0.242, allocations: 0 / 0.7182 GB, free: 10.67 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 3.548e-05/0.242, allocations: 0 / 0.7182 GB, free: 10.67 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 6.689e-05/0.2421, allocations: 11.98 kB / 0.7183 GB, free: 10.66 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 5.465e-05/0.2421, allocations: 4 kB / 0.7183 GB, free: 10.65 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 3.953e-05/0.2422, allocations: 3.984 kB / 0.7183 GB, free: 10.65 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 1.897e-05/0.2422, allocations: 0 / 0.7183 GB, free: 10.65 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.009e-05/0.2422, allocations: 3.938 kB / 0.7183 GB, free: 10.64 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 6.182e-06/0.2422, allocations: 4 kB / 0.7183 GB, free: 10.64 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.221e-05/0.2422, allocations: 0 / 0.7183 GB, free: 10.64 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.688e-05/0.2422, allocations: 0 / 0.7183 GB, free: 10.64 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 5.862e-05/0.2423, allocations: 0 / 0.7183 GB, free: 10.64 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.2423, allocations: 3.938 kB / 0.7183 GB, free: 10.64 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.523e-06/0.2423, allocations: 0 / 0.7183 GB, free: 10.64 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.78e-06/0.2423, allocations: 4 kB / 0.7183 GB, free: 10.63 MB / 0.6198 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.0003076/0.2426, allocations: 238.7 kB / 0.7185 GB, free: 10.37 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.399e-05/0.2427, allocations: 12.03 kB / 0.7185 GB, free: 10.36 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.086e-05/0.2427, allocations: 38.69 kB / 0.7186 GB, free: 10.31 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.787e-05/0.2427, allocations: 0.9375 kB / 0.7186 GB, free: 10.31 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001053/0.2428, allocations: 102.5 kB / 0.7187 GB, free: 10.18 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.198e-05/0.2428, allocations: 384 / 0.7187 GB, free: 10.18 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.552e-06/0.2428, allocations: 384 / 0.7187 GB, free: 10.18 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.763e-05/0.2429, allocations: 30.67 kB / 0.7187 GB, free: 10.15 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.191e-05/0.2429, allocations: 3.938 kB / 0.7187 GB, free: 10.14 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.512e-06/0.2429, allocations: 4 kB / 0.7187 GB, free: 10.14 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.888e-06/0.243, allocations: 0 / 0.7187 GB, free: 10.14 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.584e-05/0.243, allocations: 0 / 0.7187 GB, free: 10.14 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000145/0.2431, allocations: 128.7 kB / 0.7188 GB, free: 9.973 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 4.967e-05/0.2432, allocations: 18.52 kB / 0.7188 GB, free: 9.945 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.365e-05/0.2432, allocations: 8.953 kB / 0.7188 GB, free: 9.934 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 5.901e-06/0.2432, allocations: 0 / 0.7188 GB, free: 9.934 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.638e-05/0.2432, allocations: 30.56 kB / 0.7189 GB, free: 9.895 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=1): time 7.01e-07/0.2432, allocations: 4 kB / 0.7189 GB, free: 9.891 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1): time 0.0001201/0.2433, allocations: 37.73 kB / 0.7189 GB, free: 9.848 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.305e-05/0.2434, allocations: 59.38 kB / 0.719 GB, free: 9.777 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.93e-05/0.2434, allocations: 93.84 kB / 0.7191 GB, free: 9.676 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.561e-05/0.2434, allocations: 25.7 kB / 0.7191 GB, free: 9.645 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.733e-05/0.2435, allocations: 80.14 kB / 0.7192 GB, free: 9.562 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.413e-05/0.2435, allocations: 0 / 0.7192 GB, free: 9.562 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.91e-05/0.2435, allocations: 17.72 kB / 0.7192 GB, free: 9.539 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001536/0.2437, allocations: 310.8 kB / 0.7195 GB, free: 9.227 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.825e-06/0.2437, allocations: 0 / 0.7195 GB, free: 9.227 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.081e-05/0.2437, allocations: 8 kB / 0.7195 GB, free: 9.219 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.46e-05/0.2437, allocations: 8.922 kB / 0.7195 GB, free: 9.207 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.2437, allocations: 0 / 0.7195 GB, free: 9.207 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.85e-05/0.2438, allocations: 33.7 kB / 0.7195 GB, free: 9.168 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.567e-05/0.2438, allocations: 7.984 kB / 0.7195 GB, free: 9.16 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.134e-06/0.2438, allocations: 7.875 kB / 0.7195 GB, free: 9.152 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.243e-05/0.2438, allocations: 3.938 kB / 0.7195 GB, free: 9.148 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.386e-05/0.2439, allocations: 7.938 kB / 0.7195 GB, free: 9.141 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.399e-06/0.2439, allocations: 0 / 0.7195 GB, free: 9.141 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.748e-06/0.2439, allocations: 0 / 0.7195 GB, free: 9.141 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.037e-06/0.2439, allocations: 0 / 0.7195 GB, free: 9.141 MB / 0.6198 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 8.43e-05/0.244, allocations: 109.9 kB / 0.7197 GB, free: 9.023 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.959e-06/0.244, allocations: 8 kB / 0.7197 GB, free: 9.016 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.998e-05/0.244, allocations: 10.92 kB / 0.7197 GB, free: 9.008 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.72e-07/0.244, allocations: 0 / 0.7197 GB, free: 9.008 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.244, allocations: 0 / 0.7197 GB, free: 9.008 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.914e-06/0.244, allocations: 0 / 0.7197 GB, free: 9.008 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001093/0.2441, allocations: 120.8 kB / 0.7198 GB, free: 8.848 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.11e-07/0.2441, allocations: 0 / 0.7198 GB, free: 8.848 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.107e-06/0.2441, allocations: 4 kB / 0.7198 GB, free: 8.844 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.001e-06/0.2441, allocations: 0 / 0.7198 GB, free: 8.844 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.535e-06/0.2441, allocations: 3.938 kB / 0.7198 GB, free: 8.84 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.31e-07/0.2441, allocations: 4 kB / 0.7198 GB, free: 8.836 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.2441, allocations: 0 / 0.7198 GB, free: 8.836 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.597e-05/0.2442, allocations: 65.06 kB / 0.7199 GB, free: 8.754 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.426e-06/0.2442, allocations: 0 / 0.7199 GB, free: 8.754 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.192e-05/0.2442, allocations: 3.938 kB / 0.7199 GB, free: 8.75 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.882e-06/0.2442, allocations: 4 kB / 0.7199 GB, free: 8.746 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.5e-05/0.2443, allocations: 0 / 0.7199 GB, free: 8.746 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.062e-06/0.2443, allocations: 0 / 0.7199 GB, free: 8.746 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.875e-05/0.2443, allocations: 75.28 kB / 0.7199 GB, free: 8.672 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6e-08/0.2443, allocations: 0 / 0.7199 GB, free: 8.672 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001989/0.2445, allocations: 0 / 0.7199 GB, free: 8.672 MB / 0.6198 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.0004141/0.2449, allocations: 0.5968 MB / 0.7205 GB, free: 8.043 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 8.582e-05/0.245, allocations: 7.938 kB / 0.7205 GB, free: 8.035 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.245, allocations: 0 / 0.7205 GB, free: 8.035 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 7.153e-06/0.245, allocations: 4 kB / 0.7205 GB, free: 8.031 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001297/0.2451, allocations: 1.719 kB / 0.7205 GB, free: 8.031 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003699/0.2455, allocations: 115.2 kB / 0.7206 GB, free: 7.879 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.634e-05/0.2456, allocations: 55.52 kB / 0.7207 GB, free: 7.805 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 1.117e-05/0.2456, allocations: 4 kB / 0.7207 GB, free: 7.801 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.401e-05/0.2456, allocations: 8.5 kB / 0.7207 GB, free: 7.793 MB / 0.6198 GB Notification: Performance of SimCode: time 3.31e-07/0.2456, allocations: 3.938 kB / 0.7207 GB, free: 7.789 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03097/0.2766, allocations: 1.518 MB / 0.7222 GB, free: 6.379 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.12/11.4, allocations: 8 kB / 0.7222 GB, free: 6.371 MB / 0.6198 GB " [Timeout remaining time 648] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Controls_OBC_CDL_Reals_Sources_Validation_CivilTime_fmu --startTime=-1 --stopTime=1 --stepSize=0.0008 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Controls_OBC_CDL_Reals_Sources_Validation_CivilTime.fmu > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.514481053993222] Failed to read output from testmodel.py, exit status != 0: 11.503785309003433 11.529401671 11.281895498 Calling exit ...