Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Time.Examples.ModelTime.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.0007829/0.0007829, 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.0008181/0.0008181, allocations: 170.3 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.9056/0.9056, allocations: 177.1 MB / 202.8 MB, free: 5.758 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.7408/0.7408, 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.Utilities.Time.Examples.ModelTime,fileNamePrefix="IDEAS_IDEAS_Utilities_Time_Examples_ModelTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Time.Examples.ModelTime,fileNamePrefix="IDEAS_IDEAS_Utilities_Time_Examples_ModelTime",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.783e-06/1.783e-06, allocations: 3.938 kB / 0.618 GB, free: 13.71 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.018e-05/2.196e-05, allocations: 5.375 kB / 0.6181 GB, free: 13.71 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Examples.ModelTime): time 0.00124/0.001262, allocations: 0.6 MB / 0.6186 GB, free: 13.12 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 4.065e-05/0.001303, allocations: 3.938 kB / 0.6186 GB, free: 13.11 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.819e-05/0.001321, allocations: 0 / 0.6186 GB, free: 13.11 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.647e-05/0.001347, allocations: 0 / 0.6186 GB, free: 13.11 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 7.023e-06/0.001354, allocations: 0 / 0.6186 GB, free: 13.11 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 3.258e-05/0.001387, allocations: 4 kB / 0.6186 GB, free: 13.11 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 5.627e-05/0.001443, allocations: 8 kB / 0.6187 GB, free: 13.1 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 4.812e-05/0.001491, allocations: 0 / 0.6187 GB, free: 13.1 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 2.983e-05/0.001521, allocations: 0 / 0.6187 GB, free: 13.1 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 2.145e-05/0.001542, allocations: 3.938 kB / 0.6187 GB, free: 13.1 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.66e-05/0.001559, allocations: 0 / 0.6187 GB, free: 13.1 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 4.208e-06/0.001563, allocations: 4 kB / 0.6187 GB, free: 13.09 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.451e-05/0.001578, allocations: 7.969 kB / 0.6187 GB, free: 13.09 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.638e-05/0.001594, allocations: 0 / 0.6187 GB, free: 13.09 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 5.289e-05/0.001647, allocations: 0 / 0.6187 GB, free: 13.09 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.00165, allocations: 0 / 0.6187 GB, free: 13.09 MB / 0.5886 GB Notification: Performance of FrontEnd: time 8.51e-07/0.001651, allocations: 4 kB / 0.6187 GB, free: 13.08 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.968e-06/0.001655, allocations: 0 / 0.6187 GB, free: 13.08 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.0002061/0.001861, allocations: 234.5 kB / 0.6189 GB, free: 12.82 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.052e-05/0.001901, allocations: 8.031 kB / 0.6189 GB, free: 12.81 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.851e-05/0.00193, allocations: 34.75 kB / 0.6189 GB, free: 12.77 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.004e-05/0.00195, allocations: 0.9375 kB / 0.6189 GB, free: 12.77 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.265e-05/0.002002, allocations: 105.8 kB / 0.619 GB, free: 12.64 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.095e-05/0.002013, allocations: 384 / 0.619 GB, free: 12.64 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.915e-06/0.002021, allocations: 4.312 kB / 0.619 GB, free: 12.64 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.339e-05/0.002105, allocations: 30.27 kB / 0.6191 GB, free: 12.6 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.883e-06/0.002111, allocations: 192 / 0.6191 GB, free: 12.6 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.953e-06/0.002118, allocations: 4.375 kB / 0.6191 GB, free: 12.6 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.002124, allocations: 4.125 kB / 0.6191 GB, free: 12.59 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.988e-05/0.002144, allocations: 0 / 0.6191 GB, free: 12.59 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001033/0.002247, allocations: 124.7 kB / 0.6192 GB, free: 12.43 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 3.533e-05/0.002283, allocations: 14.58 kB / 0.6192 GB, free: 12.41 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.261e-05/0.002305, allocations: 16.88 kB / 0.6192 GB, free: 12.39 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 8.696e-06/0.002314, allocations: 3.938 kB / 0.6192 GB, free: 12.38 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.895e-05/0.002333, allocations: 30.56 kB / 0.6193 GB, free: 12.34 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=1): time 6.81e-07/0.002334, allocations: 0 / 0.6193 GB, free: 12.34 MB / 0.5886 GB Notification: Performance of matching and sorting (n=1): time 0.0001088/0.002443, allocations: 41.7 kB / 0.6193 GB, free: 12.3 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.093e-05/0.002474, allocations: 55.34 kB / 0.6194 GB, free: 12.23 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.332e-05/0.002497, allocations: 89.86 kB / 0.6194 GB, free: 12.13 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 8.085e-06/0.002505, allocations: 25.7 kB / 0.6195 GB, free: 12.1 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 1.756e-05/0.002522, allocations: 80.14 kB / 0.6195 GB, free: 12.02 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.528e-05/0.002548, allocations: 3.938 kB / 0.6195 GB, free: 12.02 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.314e-05/0.002571, allocations: 13.72 kB / 0.6196 GB, free: 12 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.232e-05/0.002643, allocations: 314.8 kB / 0.6199 GB, free: 11.68 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.395e-06/0.002652, allocations: 0 / 0.6199 GB, free: 11.68 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.4e-06/0.002657, allocations: 7.938 kB / 0.6199 GB, free: 11.67 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.526e-05/0.002682, allocations: 13.05 kB / 0.6199 GB, free: 11.66 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.002684, allocations: 0 / 0.6199 GB, free: 11.66 MB / 0.5886 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.362e-05/0.002718, allocations: 33.7 kB / 0.6199 GB, free: 11.62 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.187e-05/0.002729, allocations: 4 kB / 0.6199 GB, free: 11.61 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.002735, allocations: 4 kB / 0.6199 GB, free: 11.61 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.166e-05/0.002747, allocations: 0 / 0.6199 GB, free: 11.61 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.317e-05/0.0028, allocations: 4 kB / 0.6199 GB, free: 11.61 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/0.002806, allocations: 3.938 kB / 0.6199 GB, free: 11.6 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.374e-06/0.002813, allocations: 0 / 0.6199 GB, free: 11.6 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.308e-06/0.002818, allocations: 0 / 0.6199 GB, free: 11.6 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 4.864e-05/0.002866, allocations: 118.8 kB / 0.62 GB, free: 11.48 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.538e-06/0.002871, allocations: 7.984 kB / 0.62 GB, free: 11.47 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.551e-05/0.002886, allocations: 10.95 kB / 0.6201 GB, free: 11.46 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.002888, allocations: 0 / 0.6201 GB, free: 11.46 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.002892, allocations: 3.938 kB / 0.6201 GB, free: 11.46 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.002895, allocations: 0 / 0.6201 GB, free: 11.46 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.977e-05/0.002945, allocations: 112.8 kB / 0.6202 GB, free: 11.3 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.002946, allocations: 0 / 0.6202 GB, free: 11.3 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.482e-06/0.002953, allocations: 4 kB / 0.6202 GB, free: 11.3 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.81e-07/0.002953, allocations: 0 / 0.6202 GB, free: 11.3 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.783e-06/0.00296, allocations: 7.984 kB / 0.6202 GB, free: 11.29 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.71e-07/0.002961, allocations: 0 / 0.6202 GB, free: 11.29 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.002962, allocations: 3.938 kB / 0.6202 GB, free: 11.29 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.555e-05/0.003008, allocations: 57.09 kB / 0.6202 GB, free: 11.21 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 5.731e-06/0.003013, allocations: 4 kB / 0.6202 GB, free: 11.21 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.201e-05/0.003025, allocations: 0 / 0.6202 GB, free: 11.21 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.169e-06/0.00303, allocations: 4 kB / 0.6202 GB, free: 11.21 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.177e-05/0.003042, allocations: 7.922 kB / 0.6203 GB, free: 11.2 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.263e-06/0.003044, allocations: 0 / 0.6203 GB, free: 11.2 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 1.871e-05/0.003062, allocations: 83.16 kB / 0.6203 GB, free: 11.12 MB / 0.5886 GB Notification: Performance of sort global known variables: time 4e-08/0.003062, allocations: 0 / 0.6203 GB, free: 11.12 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001091/0.003171, allocations: 7.969 kB / 0.6203 GB, free: 11.11 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.0002049/0.003376, allocations: 0.5813 MB / 0.6209 GB, free: 10.5 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 6.102e-05/0.003437, allocations: 7.984 kB / 0.6209 GB, free: 10.49 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.353e-06/0.003439, allocations: 0 / 0.6209 GB, free: 10.49 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 5.32e-06/0.003444, allocations: 7.938 kB / 0.6209 GB, free: 10.48 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.645e-05/0.00354, allocations: 5.812 kB / 0.6209 GB, free: 10.48 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002399/0.00378, allocations: 106.7 kB / 0.621 GB, free: 10.34 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.349e-05/0.003814, allocations: 55.52 kB / 0.6211 GB, free: 10.26 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 1.237e-05/0.003826, allocations: 3.984 kB / 0.6211 GB, free: 10.26 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.506e-05/0.003851, allocations: 12.5 kB / 0.6211 GB, free: 10.25 MB / 0.5886 GB Notification: Performance of SimCode: time 3.31e-07/0.003852, allocations: 0 / 0.6211 GB, free: 10.25 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01543/0.01928, allocations: 1.508 MB / 0.6226 GB, free: 8.855 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.876/6.895, allocations: 10.86 kB / 0.6226 GB, free: 8.852 MB / 0.5886 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Utilities.Time.Examples.ModelTime.pipe ; mkfifo IDEAS_IDEAS.Utilities.Time.Examples.ModelTime.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Time.Examples.ModelTime.pipe >> ../files/IDEAS_IDEAS.Utilities.Time.Examples.ModelTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Time_Examples_ModelTime_fmu --startTime=-1 --stopTime=1 --stepSize=0.0008 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Time_Examples_ModelTime.fmu > IDEAS_IDEAS.Utilities.Time.Examples.ModelTime.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.564285833388567] Failed to read output from testmodel.py, exit status != 0: 6.974260235205293 6.983951321 6.979972501 Calling exit ...