Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.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.00114/0.00114, allocations: 80.44 kB / 19.17 MB, free: 0.7305 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.0008345/0.0008345, allocations: 165.2 kB / 22.45 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.8745/0.8745, allocations: 177.1 MB / 202.8 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7157/0.7157, allocations: 154.6 MB / 413.7 MB, free: 0.832 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 master/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.HeatExchangers.BaseClasses.Examples.HADryCoil,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.522e-06/1.522e-06, allocations: 0 / 0.6181 GB, free: 13.58 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.322e-05/1.474e-05, allocations: 2.812 kB / 0.6181 GB, free: 13.57 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.002105/0.00212, allocations: 2.026 MB / 0.62 GB, free: 11.53 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001121/0.003241, allocations: 1.017 MB / 0.621 GB, free: 10.51 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.57e-05/0.003327, allocations: 3.938 kB / 0.621 GB, free: 10.5 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 4.25e-05/0.00337, allocations: 27.66 kB / 0.6211 GB, free: 10.48 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0002429/0.003612, allocations: 83.23 kB / 0.6211 GB, free: 10.39 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002803/0.003893, allocations: 203.4 kB / 0.6213 GB, free: 10.2 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0002266/0.004119, allocations: 306.7 kB / 0.6216 GB, free: 9.895 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001448/0.004264, allocations: 44.84 kB / 0.6217 GB, free: 9.844 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001279/0.004392, allocations: 151.6 kB / 0.6218 GB, free: 9.695 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000145/0.004537, allocations: 107.7 kB / 0.6219 GB, free: 9.59 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.839e-05/0.004566, allocations: 20 kB / 0.6219 GB, free: 9.57 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000263/0.004828, allocations: 279.6 kB / 0.6222 GB, free: 9.297 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 3.418e-05/0.004863, allocations: 51.7 kB / 0.6223 GB, free: 9.246 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 5.571e-05/0.004918, allocations: 79.77 kB / 0.6223 GB, free: 9.168 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0003075/0.005226, allocations: 366.8 kB / 0.6227 GB, free: 8.809 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.234e-06/0.005228, allocations: 0 / 0.6227 GB, free: 8.809 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.002e-06/0.005229, allocations: 0 / 0.6227 GB, free: 8.809 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.399e-06/0.005233, allocations: 0 / 0.6227 GB, free: 8.809 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0009514/0.006185, allocations: 0.5554 MB / 0.6232 GB, free: 8.219 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.174e-05/0.006227, allocations: 9.469 kB / 0.6232 GB, free: 8.211 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.068e-05/0.006267, allocations: 50.73 kB / 0.6233 GB, free: 8.152 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001308/0.006398, allocations: 40.73 kB / 0.6233 GB, free: 8.113 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002648/0.006663, allocations: 228.7 kB / 0.6235 GB, free: 7.867 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.342e-05/0.006676, allocations: 8.656 kB / 0.6235 GB, free: 7.859 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.75e-05/0.006694, allocations: 16.38 kB / 0.6236 GB, free: 7.844 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003163/0.00701, allocations: 229.2 kB / 0.6238 GB, free: 7.598 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.007021, allocations: 8.109 kB / 0.6238 GB, free: 7.59 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.678e-05/0.007038, allocations: 16.12 kB / 0.6238 GB, free: 7.574 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.69e-06/0.007043, allocations: 4 kB / 0.6238 GB, free: 7.57 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003397/0.007383, allocations: 203.2 kB / 0.624 GB, free: 7.375 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007082/0.008091, allocations: 0.8752 MB / 0.6249 GB, free: 6.438 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004573/0.008549, allocations: 225.2 kB / 0.6251 GB, free: 6.199 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001681/0.008717, allocations: 101.6 kB / 0.6252 GB, free: 6.094 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.407e-05/0.008741, allocations: 0 / 0.6252 GB, free: 6.094 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.51e-05/0.008766, allocations: 46.48 kB / 0.6252 GB, free: 6.039 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=16): time 1.082e-06/0.008767, allocations: 0 / 0.6252 GB, free: 6.039 MB / 0.5886 GB Notification: Performance of matching and sorting (n=16): time 0.0006694/0.009436, allocations: 341.4 kB / 0.6255 GB, free: 5.699 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.175e-05/0.009478, allocations: 81.11 kB / 0.6256 GB, free: 5.602 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001919/0.00967, allocations: 268.2 kB / 0.6259 GB, free: 5.34 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.731e-05/0.009687, allocations: 29.7 kB / 0.6259 GB, free: 5.305 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 8.773e-05/0.009775, allocations: 160.4 kB / 0.6261 GB, free: 5.145 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 3.106e-05/0.009806, allocations: 59.48 kB / 0.6261 GB, free: 5.086 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.225e-05/0.009858, allocations: 37.7 kB / 0.6261 GB, free: 5.043 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001041/0.009962, allocations: 338.8 kB / 0.6265 GB, free: 4.703 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00017/0.01013, allocations: 87.91 kB / 0.6266 GB, free: 4.617 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001873/0.01032, allocations: 145.2 kB / 0.6267 GB, free: 4.457 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000343/0.01066, allocations: 242.3 kB / 0.6269 GB, free: 4.199 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.01067, allocations: 0 / 0.6269 GB, free: 4.199 MB / 0.5886 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004382/0.0111, allocations: 297.2 kB / 0.6272 GB, free: 3.902 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/0.01112, allocations: 7.938 kB / 0.6272 GB, free: 3.895 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/0.01113, allocations: 4 kB / 0.6272 GB, free: 3.891 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.275e-05/0.01114, allocations: 0 / 0.6272 GB, free: 3.891 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001388/0.01128, allocations: 63.88 kB / 0.6273 GB, free: 3.828 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.867e-06/0.01129, allocations: 8.062 kB / 0.6273 GB, free: 3.82 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001064/0.01139, allocations: 39.98 kB / 0.6273 GB, free: 3.781 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.266e-05/0.01141, allocations: 8 kB / 0.6273 GB, free: 3.773 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (23): * Single equations (assignments): 23 * 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.687e-05/0.01149, allocations: 130.8 kB / 0.6275 GB, free: 3.637 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.934e-05/0.01155, allocations: 31.75 kB / 0.6275 GB, free: 3.605 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004396/0.01199, allocations: 299.2 kB / 0.6278 GB, free: 3.301 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.012, allocations: 4 kB / 0.6278 GB, free: 3.297 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.012, allocations: 3.938 kB / 0.6278 GB, free: 3.293 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.367e-06/0.012, allocations: 0 / 0.6278 GB, free: 3.293 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002188/0.01222, allocations: 236.6 kB / 0.628 GB, free: 3.02 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.01222, allocations: 4 kB / 0.628 GB, free: 3.016 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001169/0.01234, allocations: 59.89 kB / 0.6281 GB, free: 2.957 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.01234, allocations: 4 kB / 0.6281 GB, free: 2.953 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.067e-05/0.01235, allocations: 3.938 kB / 0.6281 GB, free: 2.949 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.01236, allocations: 0 / 0.6281 GB, free: 2.949 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.01236, allocations: 4 kB / 0.6281 GB, free: 2.945 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004371/0.01279, allocations: 440 kB / 0.6285 GB, free: 2.5 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 2.908e-05/0.01282, allocations: 31.75 kB / 0.6285 GB, free: 2.469 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.195e-05/0.01285, allocations: 7.938 kB / 0.6285 GB, free: 2.461 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001194/0.01297, allocations: 27.95 kB / 0.6286 GB, free: 2.434 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.076e-05/0.01303, allocations: 19.97 kB / 0.6286 GB, free: 2.414 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.845e-06/0.01303, allocations: 4 kB / 0.6286 GB, free: 2.41 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0001147/0.01315, allocations: 191.1 kB / 0.6288 GB, free: 2.23 MB / 0.5886 GB Notification: Performance of sort global known variables: time 7e-08/0.01315, allocations: 4 kB / 0.6288 GB, free: 2.227 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002277/0.01338, allocations: 59.89 kB / 0.6288 GB, free: 2.168 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (20): * Single equations (assignments): 20 * 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.001015/0.01439, allocations: 0.9886 MB / 0.6298 GB, free: 1.152 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0003867/0.01478, allocations: 219.6 kB / 0.63 GB, free: 0.9375 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.01478, allocations: 384 / 0.63 GB, free: 0.9375 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0001778/0.01496, allocations: 128 kB / 0.6301 GB, free: 0.8125 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003539/0.01531, allocations: 78.25 kB / 0.6302 GB, free: 0.7383 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00235/0.01766, allocations: 2.703 MB / 0.6328 GB, free: 13.91 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.895e-05/0.01775, allocations: 142.9 kB / 0.633 GB, free: 13.75 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 8.717e-05/0.01784, allocations: 26.3 kB / 0.633 GB, free: 13.73 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.997e-05/0.01794, allocations: 88.47 kB / 0.6331 GB, free: 13.64 MB / 0.6042 GB Notification: Performance of SimCode: time 5.51e-07/0.01794, allocations: 0 / 0.6331 GB, free: 13.64 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01902/0.03696, allocations: 7.679 MB / 0.6406 GB, free: 6.211 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.952/6.989, allocations: 8.234 kB / 0.6406 GB, free: 6.207 MB / 0.6042 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil_fmu --startTime=0 --stopTime=80 --stepSize=0.032 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil.fmu > IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.629092467948794] Failed to read output from testmodel.py, exit status != 0: 7.071463058702648 7.083551577 7.07642527 Calling exit ...