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.0008016/0.0008016, allocations: 101.5 kB / 18.95 MB, free: 1.188 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.0009033/0.0009033, allocations: 212 kB / 22.25 MB, free: 3.578 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 0.9454/0.9454, allocations: 230.6 MB / 256 MB, free: 9.594 MB / 202.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.7565/0.7565, allocations: 203.5 MB / 0.5039 GB, free: 10.75 MB / 410.7 MB " [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.0009314/0.0009314, allocations: 71.08 kB / 0.7178 GB, free: 4.379 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5276/0.5285, allocations: 102 MB / 0.8174 GB, free: 1.238 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime): time 0.001363/0.5299, allocations: 0.5703 MB / 0.818 GB, free: 0.8867 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 3.953e-05/0.5299, allocations: 0 / 0.818 GB, free: 0.8867 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.728e-05/0.5299, allocations: 0 / 0.818 GB, free: 0.8867 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.791e-05/0.53, allocations: 1.812 kB / 0.818 GB, free: 0.8867 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 2.544e-05/0.53, allocations: 0 / 0.818 GB, free: 0.8867 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 3.073e-05/0.53, allocations: 0 / 0.818 GB, free: 0.8867 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.355e-05/0.5301, allocations: 8.703 kB / 0.818 GB, free: 0.8828 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 5.034e-05/0.5301, allocations: 2.797 kB / 0.818 GB, free: 0.8828 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 2.024e-05/0.5301, allocations: 3.938 kB / 0.818 GB, free: 0.8789 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 1.877e-05/0.5302, allocations: 0 / 0.818 GB, free: 0.8789 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.02e-05/0.5302, allocations: 0 / 0.818 GB, free: 0.8789 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 5.54e-06/0.5302, allocations: 7.938 kB / 0.818 GB, free: 0.8711 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.311e-05/0.5302, allocations: 4 kB / 0.818 GB, free: 0.8672 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.125e-05/0.5302, allocations: 4.578 kB / 0.818 GB, free: 0.8633 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 6.303e-05/0.5303, allocations: 2.188 kB / 0.818 GB, free: 0.8633 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.5303, allocations: 0 / 0.818 GB, free: 0.8633 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.976e-06/0.5303, allocations: 1.766 kB / 0.818 GB, free: 0.8633 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.031e-06/0.5303, allocations: 0 / 0.818 GB, free: 0.8633 MB / 0.6042 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.0001759/0.5305, allocations: 235.6 kB / 0.8182 GB, free: 0.6094 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.929e-05/0.5305, allocations: 9.906 kB / 0.8182 GB, free: 0.6094 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.245e-05/0.5305, allocations: 30.75 kB / 0.8183 GB, free: 0.5703 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.994e-05/0.5305, allocations: 5.875 kB / 0.8183 GB, free: 0.5703 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 3.177e-05/0.5306, allocations: 110.5 kB / 0.8184 GB, free: 448 kB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.838e-06/0.5306, allocations: 1.219 kB / 0.8184 GB, free: 448 kB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.282e-06/0.5306, allocations: 384 / 0.8184 GB, free: 448 kB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.596e-05/0.5307, allocations: 28.61 kB / 0.8184 GB, free: 416 kB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/0.5307, allocations: 8.766 kB / 0.8184 GB, free: 408 kB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.632e-06/0.5307, allocations: 0 / 0.8184 GB, free: 408 kB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.008e-06/0.5307, allocations: 0 / 0.8184 GB, free: 408 kB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.624e-05/0.5307, allocations: 2.031 kB / 0.8184 GB, free: 408 kB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.734e-05/0.5308, allocations: 115.5 kB / 0.8185 GB, free: 252 kB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 3.233e-05/0.5308, allocations: 22.3 kB / 0.8186 GB, free: 224 kB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.89e-05/0.5308, allocations: 10.33 kB / 0.8186 GB, free: 212 kB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 8.997e-06/0.5308, allocations: 3.938 kB / 0.8186 GB, free: 208 kB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.523e-05/0.5308, allocations: 32.98 kB / 0.8186 GB, free: 168 kB / 0.6042 GB Notification: Performance of pre-optimization done (n=1): time 9.72e-07/0.5308, allocations: 3.984 kB / 0.8186 GB, free: 164 kB / 0.6042 GB Notification: Performance of matching and sorting (n=1): time 0.0001101/0.531, allocations: 44.89 kB / 0.8186 GB, free: 120 kB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.902e-05/0.531, allocations: 52.39 kB / 0.8187 GB, free: 56 kB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.265e-05/0.531, allocations: 93.86 kB / 0.8188 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.207e-06/0.531, allocations: 25.7 kB / 0.8188 GB, free: 15.92 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.514e-05/0.5311, allocations: 83.83 kB / 0.8189 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.92e-05/0.5311, allocations: 128 / 0.8189 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.036e-05/0.5311, allocations: 14.61 kB / 0.8189 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.382e-05/0.5312, allocations: 314.9 kB / 0.8192 GB, free: 15.51 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.134e-05/0.5312, allocations: 0 / 0.8192 GB, free: 15.51 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.344e-06/0.5312, allocations: 0 / 0.8192 GB, free: 15.51 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.839e-05/0.5312, allocations: 16.64 kB / 0.8192 GB, free: 15.49 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.5312, allocations: 0 / 0.8192 GB, free: 15.49 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.118e-05/0.5313, allocations: 30.75 kB / 0.8192 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/0.5313, allocations: 6.625 kB / 0.8193 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.5313, allocations: 3.938 kB / 0.8193 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.439e-05/0.5313, allocations: 5.906 kB / 0.8193 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.884e-05/0.5314, allocations: 0.8906 kB / 0.8193 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.5314, allocations: 6.219 kB / 0.8193 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.177e-06/0.5314, allocations: 4 kB / 0.8193 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.178e-06/0.5314, allocations: 0 / 0.8193 GB, free: 15.45 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 5.751e-05/0.5314, allocations: 108.6 kB / 0.8194 GB, free: 15.33 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.446e-06/0.5315, allocations: 0 / 0.8194 GB, free: 15.33 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.137e-05/0.5315, allocations: 13.41 kB / 0.8194 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.5315, allocations: 0 / 0.8194 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.5315, allocations: 0 / 0.8194 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.5315, allocations: 4 kB / 0.8194 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.516e-05/0.5315, allocations: 120.6 kB / 0.8195 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.5316, allocations: 0 / 0.8195 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.065e-06/0.5316, allocations: 2.469 kB / 0.8195 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.21e-07/0.5316, allocations: 3.938 kB / 0.8195 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.011e-06/0.5316, allocations: 7.625 kB / 0.8195 GB, free: 15.15 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.5316, allocations: 0.7031 kB / 0.8195 GB, free: 15.15 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.11e-07/0.5316, allocations: 0 / 0.8195 GB, free: 15.15 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.175e-05/0.5316, allocations: 59.41 kB / 0.8196 GB, free: 15.08 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.31e-06/0.5316, allocations: 2.656 kB / 0.8196 GB, free: 15.08 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.043e-05/0.5316, allocations: 7.969 kB / 0.8196 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.829e-06/0.5316, allocations: 2.594 kB / 0.8196 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.052e-05/0.5316, allocations: 0 / 0.8196 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.001e-06/0.5317, allocations: 0 / 0.8196 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.174e-05/0.5317, allocations: 79.05 kB / 0.8197 GB, free: 15 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6e-08/0.5317, allocations: 0 / 0.8197 GB, free: 15 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001101/0.5318, allocations: 0 / 0.8197 GB, free: 15 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.0002495/0.532, allocations: 0.5922 MB / 0.8202 GB, free: 14.4 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 7.158e-05/0.5321, allocations: 7.938 kB / 0.8203 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.5321, allocations: 0 / 0.8203 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 3.797e-06/0.5321, allocations: 1.969 kB / 0.8203 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001035/0.5322, allocations: 4.922 kB / 0.8203 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003037/0.5325, allocations: 115.6 kB / 0.8204 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.715e-05/0.5326, allocations: 55.33 kB / 0.8204 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 1.176e-05/0.5326, allocations: 0 / 0.8204 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.008e-05/0.5326, allocations: 8.094 kB / 0.8204 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of SimCode: time 6.52e-07/0.5326, allocations: 2.594 kB / 0.8204 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01866/0.5512, allocations: 1.399 MB / 0.8218 GB, free: 13.36 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.942/7.493, allocations: 6.922 kB / 0.8218 GB, free: 13.36 MB / 0.6198 GB " [Timeout remaining time 652] (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: 10.366151351947337] Failed to read output from testmodel.py, exit status != 0: 7.568958540912718 7.581639288 7.048849028 Calling exit ...