Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0008026/0.0008026, 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.0008143/0.0008143, allocations: 165.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.8991/0.8991, 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 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.7332/0.7332, allocations: 154.5 MB / 413.7 MB, free: 0.8398 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.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.004e-06/2.004e-06, allocations: 0 / 0.618 GB, free: 13.73 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.66e-05/1.861e-05, allocations: 2.781 kB / 0.618 GB, free: 13.73 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.003333/0.003351, allocations: 2.101 MB / 0.6201 GB, free: 11.61 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.004758/0.00811, allocations: 3.904 MB / 0.6239 GB, free: 7.68 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001156/0.008225, allocations: 4 kB / 0.6239 GB, free: 7.676 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0007029/0.008928, allocations: 183 kB / 0.6241 GB, free: 7.496 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0001286/0.009057, allocations: 87.16 kB / 0.6242 GB, free: 7.41 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005799/0.009637, allocations: 338.5 kB / 0.6245 GB, free: 7.082 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0005148/0.01015, allocations: 474.4 kB / 0.6249 GB, free: 6.617 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001055/0.01026, allocations: 32.91 kB / 0.625 GB, free: 6.586 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001758/0.01043, allocations: 191.6 kB / 0.6252 GB, free: 6.398 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001392/0.01057, allocations: 131.6 kB / 0.6253 GB, free: 6.27 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 3.285e-05/0.0106, allocations: 20 kB / 0.6253 GB, free: 6.25 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003744/0.01098, allocations: 331.4 kB / 0.6256 GB, free: 5.926 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 9.768e-05/0.01108, allocations: 115.6 kB / 0.6257 GB, free: 5.812 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 8.795e-05/0.01116, allocations: 115.7 kB / 0.6258 GB, free: 5.699 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0005127/0.01168, allocations: 0.6308 MB / 0.6265 GB, free: 5.066 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.836e-06/0.01168, allocations: 4 kB / 0.6265 GB, free: 5.062 MB / 0.5886 GB Notification: Performance of FrontEnd: time 9.32e-07/0.01168, allocations: 0 / 0.6265 GB, free: 5.062 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 6.533e-06/0.01169, allocations: 4 kB / 0.6265 GB, free: 5.059 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.000852/0.01254, allocations: 0.7392 MB / 0.6272 GB, free: 4.281 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.705e-05/0.01258, allocations: 9.469 kB / 0.6272 GB, free: 4.273 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.655e-05/0.01261, allocations: 46.73 kB / 0.6272 GB, free: 4.219 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008991/0.01351, allocations: 316.2 kB / 0.6275 GB, free: 3.91 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005144/0.01403, allocations: 348 kB / 0.6279 GB, free: 3.547 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.288e-05/0.01404, allocations: 4.562 kB / 0.6279 GB, free: 3.543 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.46e-05/0.01406, allocations: 12.38 kB / 0.6279 GB, free: 3.531 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003882/0.01445, allocations: 268.5 kB / 0.6281 GB, free: 3.266 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.424e-06/0.01446, allocations: 0 / 0.6281 GB, free: 3.266 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.638e-05/0.01448, allocations: 8 kB / 0.6282 GB, free: 3.258 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.01448, allocations: 0 / 0.6282 GB, free: 3.258 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005472/0.01503, allocations: 359.5 kB / 0.6285 GB, free: 2.906 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008526/0.01588, allocations: 0.6283 MB / 0.6291 GB, free: 2.234 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003196/0.0162, allocations: 222.3 kB / 0.6293 GB, free: 2.008 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002715/0.01647, allocations: 184.7 kB / 0.6295 GB, free: 1.824 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 4.024e-05/0.01651, allocations: 15.98 kB / 0.6295 GB, free: 1.809 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.94e-05/0.01653, allocations: 38.56 kB / 0.6295 GB, free: 1.762 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=13): time 1.001e-06/0.01653, allocations: 0 / 0.6295 GB, free: 1.762 MB / 0.5886 GB Notification: Performance of matching and sorting (n=13): time 0.001025/0.01756, allocations: 0.591 MB / 0.6301 GB, free: 1.164 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.58e-05/0.01758, allocations: 55.34 kB / 0.6302 GB, free: 1.098 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000301/0.01788, allocations: 445.9 kB / 0.6306 GB, free: 0.6562 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.206e-05/0.01791, allocations: 29.7 kB / 0.6306 GB, free: 0.6211 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 9.504e-05/0.018, allocations: 192.5 kB / 0.6308 GB, free: 440 kB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 3.457e-05/0.01804, allocations: 51.58 kB / 0.6309 GB, free: 388 kB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.008e-05/0.01811, allocations: 57.67 kB / 0.6309 GB, free: 324 kB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.000101/0.01821, allocations: 354.7 kB / 0.6313 GB, free: 15.96 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003697/0.01858, allocations: 341.7 kB / 0.6316 GB, free: 15.62 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003633/0.01894, allocations: 342 kB / 0.6319 GB, free: 15.28 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006526/0.01959, allocations: 0.5398 MB / 0.6324 GB, free: 14.73 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.01959, allocations: 0 / 0.6324 GB, free: 14.73 MB / 0.6042 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0008617/0.02046, allocations: 0.7829 MB / 0.6332 GB, free: 13.93 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 3.688e-05/0.02049, allocations: 45.69 kB / 0.6332 GB, free: 13.88 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.0205, allocations: 0 / 0.6332 GB, free: 13.88 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.384e-05/0.02051, allocations: 4 kB / 0.6332 GB, free: 13.88 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002315/0.02074, allocations: 59.92 kB / 0.6333 GB, free: 13.82 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.582e-06/0.02075, allocations: 7.984 kB / 0.6333 GB, free: 13.81 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001707/0.02092, allocations: 55.8 kB / 0.6334 GB, free: 13.76 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.886e-05/0.02094, allocations: 7.984 kB / 0.6334 GB, free: 13.75 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.0001265/0.02107, allocations: 166.7 kB / 0.6335 GB, free: 13.58 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.235e-05/0.02111, allocations: 39.72 kB / 0.6336 GB, free: 13.54 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007045/0.02181, allocations: 464.8 kB / 0.634 GB, free: 13.08 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.02182, allocations: 0 / 0.634 GB, free: 13.08 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/0.02182, allocations: 0 / 0.634 GB, free: 13.08 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/0.02182, allocations: 4 kB / 0.634 GB, free: 13.08 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000257/0.02208, allocations: 336.3 kB / 0.6343 GB, free: 12.71 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.02208, allocations: 0 / 0.6343 GB, free: 12.71 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001793/0.02226, allocations: 67.86 kB / 0.6344 GB, free: 12.64 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.02226, allocations: 0 / 0.6344 GB, free: 12.64 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.548e-05/0.02228, allocations: 3.984 kB / 0.6344 GB, free: 12.64 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.02228, allocations: 0 / 0.6344 GB, free: 12.64 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.02228, allocations: 4 kB / 0.6344 GB, free: 12.63 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006366/0.02292, allocations: 0.5177 MB / 0.6349 GB, free: 12.1 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 8.344e-05/0.023, allocations: 63.67 kB / 0.635 GB, free: 12.04 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.712e-05/0.02303, allocations: 7.938 kB / 0.635 GB, free: 12.03 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001696/0.0232, allocations: 35.95 kB / 0.635 GB, free: 12 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.549e-05/0.02327, allocations: 19.97 kB / 0.635 GB, free: 11.98 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.424e-05/0.02328, allocations: 7.984 kB / 0.635 GB, free: 11.97 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002125/0.02349, allocations: 311.1 kB / 0.6353 GB, free: 11.67 MB / 0.6042 GB Notification: Performance of sort global known variables: time 5e-08/0.02349, allocations: 0 / 0.6353 GB, free: 11.67 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003087/0.0238, allocations: 127.8 kB / 0.6355 GB, free: 11.54 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.001096/0.0249, allocations: 1.141 MB / 0.6366 GB, free: 10.37 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0008826/0.02578, allocations: 0.6399 MB / 0.6372 GB, free: 9.715 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.02578, allocations: 0 / 0.6372 GB, free: 9.715 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002889/0.02607, allocations: 191.8 kB / 0.6374 GB, free: 9.527 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003057/0.02638, allocations: 56.88 kB / 0.6374 GB, free: 9.477 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004829/0.0312, allocations: 5.479 MB / 0.6428 GB, free: 3.879 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001347/0.03134, allocations: 199.4 kB / 0.643 GB, free: 3.664 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001866/0.03153, allocations: 73.91 kB / 0.6431 GB, free: 3.59 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001716/0.0317, allocations: 124.4 kB / 0.6432 GB, free: 3.469 MB / 0.6042 GB Notification: Performance of SimCode: time 1.142e-06/0.0317, allocations: 0 / 0.6432 GB, free: 3.469 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02406/0.05576, allocations: 10.43 MB / 0.6534 GB, free: 9.293 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.76/6.815, allocations: 7.609 kB / 0.6534 GB, free: 9.289 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain.fmu > IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.563344521448016] Failed to read output from testmodel.py, exit status != 0: 6.90023846924305 6.908325027 6.894751798 Calling exit ...