Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.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.0008202/0.0008202, 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.0008452/0.0008452, 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.8882/0.8882, allocations: 177.1 MB / 202.8 MB, free: 5.734 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.6996/0.6996, allocations: 154.6 MB / 413.8 MB, free: 0.8047 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.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain,fileNamePrefix="IDEAS_IDEAS_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain,fileNamePrefix="IDEAS_IDEAS_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.304e-06/2.304e-06, allocations: 0 / 0.6181 GB, free: 13.68 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.442e-05/2.672e-05, allocations: 8.375 kB / 0.6181 GB, free: 13.68 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.002833/0.00286, allocations: 2.101 MB / 0.6202 GB, free: 11.56 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.004358/0.007218, allocations: 3.907 MB / 0.624 GB, free: 7.629 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001332/0.007351, allocations: 3.938 kB / 0.624 GB, free: 7.625 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0007634/0.008114, allocations: 177.8 kB / 0.6242 GB, free: 7.453 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0001568/0.008271, allocations: 83.22 kB / 0.6242 GB, free: 7.371 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009846/0.009256, allocations: 347 kB / 0.6246 GB, free: 7.031 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0007101/0.009966, allocations: 466.5 kB / 0.625 GB, free: 6.574 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001446/0.01011, allocations: 40.83 kB / 0.625 GB, free: 6.531 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002775/0.01039, allocations: 187.6 kB / 0.6252 GB, free: 6.348 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001755/0.01056, allocations: 127.6 kB / 0.6253 GB, free: 6.223 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 3.905e-05/0.0106, allocations: 23.94 kB / 0.6254 GB, free: 6.199 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005642/0.01117, allocations: 327.4 kB / 0.6257 GB, free: 5.879 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.0001281/0.01129, allocations: 115.6 kB / 0.6258 GB, free: 5.766 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.0001176/0.01141, allocations: 115.7 kB / 0.6259 GB, free: 5.652 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0007474/0.01216, allocations: 0.6425 MB / 0.6265 GB, free: 5.008 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.01216, allocations: 0 / 0.6265 GB, free: 5.008 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.104e-06/0.01217, allocations: 4 kB / 0.6265 GB, free: 5.004 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 6.943e-06/0.01217, allocations: 0 / 0.6265 GB, free: 5.004 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.001078/0.01325, allocations: 0.7353 MB / 0.6272 GB, free: 4.23 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.404e-05/0.0133, allocations: 8.031 kB / 0.6273 GB, free: 4.223 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.916e-05/0.01334, allocations: 42.75 kB / 0.6273 GB, free: 4.172 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007292/0.01406, allocations: 244.3 kB / 0.6275 GB, free: 3.934 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006338/0.0147, allocations: 343.9 kB / 0.6279 GB, free: 3.578 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.484e-05/0.01471, allocations: 16.5 kB / 0.6279 GB, free: 3.562 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.452e-05/0.01474, allocations: 8.375 kB / 0.6279 GB, free: 3.555 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004283/0.01517, allocations: 249.6 kB / 0.6281 GB, free: 3.305 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/0.01517, allocations: 0 / 0.6281 GB, free: 3.305 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.787e-05/0.01519, allocations: 4 kB / 0.6281 GB, free: 3.301 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.306e-06/0.0152, allocations: 8 kB / 0.6281 GB, free: 3.293 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005969/0.0158, allocations: 327.7 kB / 0.6284 GB, free: 2.973 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001017/0.01681, allocations: 0.6243 MB / 0.6291 GB, free: 2.305 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003527/0.01717, allocations: 206.4 kB / 0.6293 GB, free: 2.094 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000405/0.01757, allocations: 168.7 kB / 0.6294 GB, free: 1.926 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 5.477e-05/0.01763, allocations: 19.98 kB / 0.6294 GB, free: 1.906 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.386e-05/0.01765, allocations: 38.5 kB / 0.6295 GB, free: 1.859 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=13): time 1.743e-06/0.01765, allocations: 4 kB / 0.6295 GB, free: 1.855 MB / 0.5886 GB Notification: Performance of matching and sorting (n=13): time 0.001016/0.01867, allocations: 0.5667 MB / 0.63 GB, free: 1.285 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.744e-05/0.01871, allocations: 55.41 kB / 0.6301 GB, free: 1.219 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003552/0.01906, allocations: 445.9 kB / 0.6305 GB, free: 0.7773 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.803e-05/0.01909, allocations: 29.7 kB / 0.6305 GB, free: 0.7422 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001101/0.0192, allocations: 204.4 kB / 0.6307 GB, free: 0.5391 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 3.679e-05/0.01924, allocations: 39.64 kB / 0.6308 GB, free: 0.5 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.13e-05/0.01932, allocations: 49.69 kB / 0.6308 GB, free: 456 kB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001075/0.01942, allocations: 354.7 kB / 0.6312 GB, free: 92 kB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004002/0.01982, allocations: 337.7 kB / 0.6315 GB, free: 15.75 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003619/0.02019, allocations: 338 kB / 0.6318 GB, free: 15.42 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006558/0.02084, allocations: 0.5202 MB / 0.6323 GB, free: 14.89 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.02085, allocations: 0 / 0.6323 GB, free: 14.89 MB / 0.6042 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0008822/0.02173, allocations: 0.7653 MB / 0.6331 GB, free: 14.11 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 4.516e-05/0.02177, allocations: 41.69 kB / 0.6331 GB, free: 14.06 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.02178, allocations: 4 kB / 0.6331 GB, free: 14.06 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.707e-05/0.0218, allocations: 0 / 0.6331 GB, free: 14.06 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002482/0.02205, allocations: 71.84 kB / 0.6332 GB, free: 13.99 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.762e-06/0.02205, allocations: 7.938 kB / 0.6332 GB, free: 13.98 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001974/0.02225, allocations: 55.73 kB / 0.6332 GB, free: 13.93 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.708e-05/0.02228, allocations: 7.984 kB / 0.6332 GB, free: 13.92 MB / 0.6042 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 (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 1 * 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 0.0002799/0.02256, allocations: 162.7 kB / 0.6334 GB, free: 13.75 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.351e-05/0.02261, allocations: 39.77 kB / 0.6334 GB, free: 13.71 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007875/0.0234, allocations: 444.7 kB / 0.6338 GB, free: 13.27 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.824e-06/0.02341, allocations: 7.984 kB / 0.6339 GB, free: 13.27 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.02341, allocations: 0 / 0.6339 GB, free: 13.27 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.02342, allocations: 0 / 0.6339 GB, free: 13.27 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003087/0.02373, allocations: 308.5 kB / 0.6341 GB, free: 12.92 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.02373, allocations: 8 kB / 0.6342 GB, free: 12.91 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002067/0.02393, allocations: 59.86 kB / 0.6342 GB, free: 12.86 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.13e-06/0.02394, allocations: 0 / 0.6342 GB, free: 12.86 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.755e-05/0.02396, allocations: 7.984 kB / 0.6342 GB, free: 12.85 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/0.02396, allocations: 4 kB / 0.6342 GB, free: 12.84 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.02396, allocations: 0 / 0.6342 GB, free: 12.84 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007012/0.02466, allocations: 0.5067 MB / 0.6347 GB, free: 12.32 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001049/0.02477, allocations: 59.62 kB / 0.6348 GB, free: 12.26 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.296e-05/0.0248, allocations: 7.984 kB / 0.6348 GB, free: 12.25 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001654/0.02497, allocations: 31.95 kB / 0.6348 GB, free: 12.22 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.499e-05/0.02503, allocations: 15.97 kB / 0.6348 GB, free: 12.21 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.449e-05/0.02505, allocations: 7.984 kB / 0.6348 GB, free: 12.2 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002408/0.02529, allocations: 311.1 kB / 0.6351 GB, free: 11.89 MB / 0.6042 GB Notification: Performance of sort global known variables: time 6e-08/0.02529, allocations: 0 / 0.6351 GB, free: 11.89 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0004021/0.02569, allocations: 135.8 kB / 0.6353 GB, free: 11.76 MB / 0.6042 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 (13): * Single equations (assignments): 13 * 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.001224/0.02691, allocations: 1.126 MB / 0.6364 GB, free: 10.61 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0008819/0.0278, allocations: 0.6251 MB / 0.637 GB, free: 9.965 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.0278, allocations: 0 / 0.637 GB, free: 9.965 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0003019/0.0281, allocations: 183.8 kB / 0.6371 GB, free: 9.785 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000423/0.02852, allocations: 57.94 kB / 0.6372 GB, free: 9.73 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005716/0.03424, allocations: 5.421 MB / 0.6425 GB, free: 4.191 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001424/0.03438, allocations: 195.4 kB / 0.6427 GB, free: 3.977 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0002077/0.03459, allocations: 57.91 kB / 0.6427 GB, free: 3.918 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001651/0.03476, allocations: 120.4 kB / 0.6429 GB, free: 3.801 MB / 0.6042 GB Notification: Performance of SimCode: time 1.273e-06/0.03476, allocations: 4 kB / 0.6429 GB, free: 3.797 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02345/0.0582, allocations: 10.3 MB / 0.6529 GB, free: 9.746 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.882/6.94, allocations: 10.62 kB / 0.6529 GB, free: 9.738 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; mkfifo IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe >> ../files/IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain.fmu > IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.60171414166689] Failed to read output from testmodel.py, exit status != 0: 7.025629244744778 7.033367602 7.019464254 Calling exit ...