Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.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.0009579/0.0009579, 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.000928/0.000928, allocations: 169.9 kB / 22.46 MB, free: 2.102 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.8946/0.8946, allocations: 177.1 MB / 202.8 MB, free: 5.738 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.7238/0.7238, 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.EN12975SolarGain,fileNamePrefix="IDEAS_IDEAS_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain,fileNamePrefix="IDEAS_IDEAS_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.126e-06/3.126e-06, allocations: 3.984 kB / 0.6181 GB, free: 13.68 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.516e-05/1.829e-05, allocations: 5.672 kB / 0.6181 GB, free: 13.68 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.002214/0.002233, allocations: 2 MB / 0.6201 GB, free: 11.66 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.00358/0.005813, allocations: 3.888 MB / 0.6239 GB, free: 7.75 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000108/0.005921, allocations: 4 kB / 0.6239 GB, free: 7.746 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.000719/0.00664, allocations: 183 kB / 0.624 GB, free: 7.566 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0001089/0.006749, allocations: 71.34 kB / 0.6241 GB, free: 7.496 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006042/0.007353, allocations: 315.1 kB / 0.6244 GB, free: 7.188 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0004814/0.007835, allocations: 390.7 kB / 0.6248 GB, free: 6.805 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001029/0.007937, allocations: 40.48 kB / 0.6248 GB, free: 6.766 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001555/0.008093, allocations: 167.5 kB / 0.625 GB, free: 6.602 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001142/0.008207, allocations: 103.8 kB / 0.6251 GB, free: 6.5 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.465e-05/0.008232, allocations: 16 kB / 0.6251 GB, free: 6.484 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003818/0.008614, allocations: 311.5 kB / 0.6254 GB, free: 6.18 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 9.939e-05/0.008713, allocations: 111.6 kB / 0.6255 GB, free: 6.07 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 8.11e-05/0.008794, allocations: 87.72 kB / 0.6256 GB, free: 5.984 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0005214/0.009315, allocations: 0.5686 MB / 0.6261 GB, free: 5.414 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.009318, allocations: 7.938 kB / 0.6261 GB, free: 5.406 MB / 0.5886 GB Notification: Performance of FrontEnd: time 9.92e-07/0.009319, allocations: 0 / 0.6261 GB, free: 5.406 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 6.061e-06/0.009325, allocations: 4 kB / 0.6261 GB, free: 5.402 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0008546/0.01018, allocations: 0.6885 MB / 0.6268 GB, free: 4.676 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.63e-05/0.01022, allocations: 8.031 kB / 0.6268 GB, free: 4.668 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.417e-05/0.01025, allocations: 46.73 kB / 0.6269 GB, free: 4.613 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00023/0.01048, allocations: 88.59 kB / 0.6269 GB, free: 4.527 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003499/0.01083, allocations: 291.9 kB / 0.6272 GB, free: 4.219 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.193e-05/0.01084, allocations: 8.375 kB / 0.6272 GB, free: 4.211 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.07e-05/0.01086, allocations: 12.38 kB / 0.6272 GB, free: 4.199 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000306/0.01117, allocations: 188.1 kB / 0.6274 GB, free: 4.012 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.01118, allocations: 192 / 0.6274 GB, free: 4.012 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.604e-05/0.01119, allocations: 11.94 kB / 0.6274 GB, free: 4 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.01e-06/0.0112, allocations: 0 / 0.6274 GB, free: 4 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003773/0.01158, allocations: 239.8 kB / 0.6277 GB, free: 3.766 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006499/0.01222, allocations: 0.5384 MB / 0.6282 GB, free: 3.184 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000244/0.01247, allocations: 166.4 kB / 0.6284 GB, free: 3.012 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001931/0.01266, allocations: 136.7 kB / 0.6285 GB, free: 2.875 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 4.831e-05/0.01271, allocations: 19.98 kB / 0.6285 GB, free: 2.855 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.012e-05/0.01273, allocations: 38.5 kB / 0.6285 GB, free: 2.809 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=11): time 9.52e-07/0.01273, allocations: 0 / 0.6285 GB, free: 2.809 MB / 0.5886 GB Notification: Performance of matching and sorting (n=11): time 0.0006914/0.01342, allocations: 437.3 kB / 0.629 GB, free: 2.375 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.725e-05/0.01345, allocations: 59.62 kB / 0.629 GB, free: 2.305 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002887/0.01374, allocations: 417.9 kB / 0.6294 GB, free: 1.891 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.133e-05/0.01376, allocations: 33.64 kB / 0.6294 GB, free: 1.852 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 9.437e-05/0.01385, allocations: 180 kB / 0.6296 GB, free: 1.672 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 3.126e-05/0.01389, allocations: 43.64 kB / 0.6297 GB, free: 1.629 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.497e-05/0.01394, allocations: 45.69 kB / 0.6297 GB, free: 1.578 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 9.438e-05/0.01404, allocations: 346.7 kB / 0.63 GB, free: 1.23 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002439/0.01428, allocations: 209.6 kB / 0.6302 GB, free: 1.02 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002229/0.0145, allocations: 217.5 kB / 0.6304 GB, free: 0.8008 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004157/0.01492, allocations: 353.5 kB / 0.6308 GB, free: 460 kB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.01492, allocations: 4 kB / 0.6308 GB, free: 456 kB / 0.5886 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005498/0.01547, allocations: 0.5045 MB / 0.6313 GB, free: 15.92 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 3.659e-05/0.01551, allocations: 45.69 kB / 0.6313 GB, free: 15.87 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.089e-06/0.01551, allocations: 4 kB / 0.6313 GB, free: 15.86 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.219e-05/0.01552, allocations: 0 / 0.6313 GB, free: 15.86 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001526/0.01568, allocations: 47.88 kB / 0.6314 GB, free: 15.82 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.232e-06/0.01568, allocations: 4 kB / 0.6314 GB, free: 15.81 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00011/0.01579, allocations: 31.86 kB / 0.6314 GB, free: 15.78 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.452e-05/0.01581, allocations: 7.984 kB / 0.6314 GB, free: 15.77 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 (12): * Single equations (assignments): 11 * 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.000106/0.01591, allocations: 162.7 kB / 0.6316 GB, free: 15.61 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.359e-05/0.01595, allocations: 35.77 kB / 0.6316 GB, free: 15.57 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000485/0.01643, allocations: 351.5 kB / 0.6319 GB, free: 15.23 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-06/0.01643, allocations: 4 kB / 0.6319 GB, free: 15.22 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.01644, allocations: 0 / 0.6319 GB, free: 15.22 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.01644, allocations: 0 / 0.6319 GB, free: 15.22 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002261/0.01667, allocations: 292.4 kB / 0.6322 GB, free: 14.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.01667, allocations: 0 / 0.6322 GB, free: 14.9 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001175/0.01679, allocations: 51.88 kB / 0.6323 GB, free: 14.85 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.01679, allocations: 0 / 0.6323 GB, free: 14.85 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.109e-05/0.0168, allocations: 4 kB / 0.6323 GB, free: 14.84 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.0168, allocations: 4 kB / 0.6323 GB, free: 14.84 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.0168, allocations: 0 / 0.6323 GB, free: 14.84 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004555/0.01726, allocations: 423 kB / 0.6327 GB, free: 14.41 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 6.886e-05/0.01733, allocations: 55.67 kB / 0.6327 GB, free: 14.36 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.416e-05/0.01735, allocations: 4 kB / 0.6327 GB, free: 14.35 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001142/0.01747, allocations: 27.95 kB / 0.6328 GB, free: 14.32 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.451e-05/0.01752, allocations: 15.92 kB / 0.6328 GB, free: 14.31 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.268e-06/0.01753, allocations: 11.92 kB / 0.6328 GB, free: 14.3 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001901/0.01772, allocations: 291.1 kB / 0.6331 GB, free: 14.01 MB / 0.6042 GB Notification: Performance of sort global known variables: time 8e-08/0.01772, allocations: 0 / 0.6331 GB, free: 14.01 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.000306/0.01803, allocations: 123.8 kB / 0.6332 GB, free: 13.89 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 (11): * Single equations (assignments): 11 * 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.0008169/0.01884, allocations: 1.042 MB / 0.6342 GB, free: 12.82 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0005763/0.01942, allocations: 468.5 kB / 0.6346 GB, free: 12.35 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.01942, allocations: 3.938 kB / 0.6346 GB, free: 12.34 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001983/0.01962, allocations: 139.8 kB / 0.6348 GB, free: 12.21 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003142/0.01993, allocations: 55.66 kB / 0.6348 GB, free: 12.15 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00376/0.02369, allocations: 4.379 MB / 0.6391 GB, free: 7.66 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001214/0.02381, allocations: 183.2 kB / 0.6393 GB, free: 7.465 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001259/0.02394, allocations: 45.92 kB / 0.6393 GB, free: 7.422 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000121/0.02406, allocations: 104.5 kB / 0.6394 GB, free: 7.32 MB / 0.6042 GB Notification: Performance of SimCode: time 5.81e-07/0.02406, allocations: 4 kB / 0.6394 GB, free: 7.316 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0198/0.04386, allocations: 9.471 MB / 0.6487 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.862/6.905, allocations: 14.22 kB / 0.6487 GB, free: 14.06 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; mkfifo IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe >> ../files/IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain.fmu > IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.564055257476866] Failed to read output from testmodel.py, exit status != 0: 6.986419920809567 6.994658501 6.983627312 Calling exit ...