Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00135/0.00135, allocations: 119.9 kB / 17.13 MB, free: 5.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001384/0.001384, allocations: 191.7 kB / 20.08 MB, free: 2.988 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.37/1.37, allocations: 225.6 MB / 248.5 MB, free: 3.621 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.818/0.818, allocations: 129.2 MB / 432.5 MB, free: 13.07 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001835/0.001835, allocations: 67.88 kB / 0.5987 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4097/0.4116, allocations: 83.44 MB / 0.6802 GB, free: 5.996 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.002735/0.4143, allocations: 2.064 MB / 0.6822 GB, free: 4.379 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003929/0.4182, allocations: 4.083 MB / 0.6862 GB, free: 1.074 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001016/0.4183, allocations: 5.094 kB / 0.6862 GB, free: 1.07 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0007654/0.4191, allocations: 195.3 kB / 0.6864 GB, free: 0.9531 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001069/0.4192, allocations: 77.06 kB / 0.6864 GB, free: 0.8867 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005894/0.4198, allocations: 258.6 kB / 0.6867 GB, free: 0.7188 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0004707/0.4203, allocations: 373.3 kB / 0.687 GB, free: 0.5195 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001003/0.4204, allocations: 34.52 kB / 0.6871 GB, free: 0.5 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001256/0.4205, allocations: 114.9 kB / 0.6872 GB, free: 444 kB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00014/0.4206, allocations: 126.2 kB / 0.6873 GB, free: 360 kB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.372e-05/0.4207, allocations: 16.38 kB / 0.6873 GB, free: 360 kB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003986/0.4211, allocations: 320 kB / 0.6876 GB, free: 184 kB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 8.422e-05/0.4212, allocations: 103.5 kB / 0.6877 GB, free: 116 kB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001029/0.4213, allocations: 150.1 kB / 0.6879 GB, free: 8 kB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0006832/0.4219, allocations: 0.5197 MB / 0.6884 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.4219, allocations: 0 / 0.6884 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.333e-06/0.4219, allocations: 0 / 0.6884 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 7.173e-06/0.422, allocations: 1.062 kB / 0.6884 GB, free: 15.66 MB / 0.5137 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.001383/0.4233, allocations: 0.7569 MB / 0.6891 GB, free: 15 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.564e-05/0.4234, allocations: 8.812 kB / 0.6891 GB, free: 15 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.816e-05/0.4234, allocations: 42.02 kB / 0.6892 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.988e-05/0.4235, allocations: 41.25 kB / 0.6892 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005351/0.424, allocations: 333.2 kB / 0.6895 GB, free: 14.63 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.527e-05/0.424, allocations: 8.062 kB / 0.6895 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.743e-05/0.4241, allocations: 13.22 kB / 0.6895 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004875/0.4246, allocations: 195.4 kB / 0.6897 GB, free: 14.5 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.947e-06/0.4246, allocations: 0 / 0.6897 GB, free: 14.5 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.607e-05/0.4246, allocations: 5.062 kB / 0.6897 GB, free: 14.5 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.081e-06/0.4246, allocations: 6.062 kB / 0.6897 GB, free: 14.5 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006717/0.4253, allocations: 244 kB / 0.69 GB, free: 14.4 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001009/0.4263, allocations: 0.5875 MB / 0.6905 GB, free: 13.92 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004122/0.4267, allocations: 172.1 kB / 0.6907 GB, free: 13.83 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003429/0.427, allocations: 124.6 kB / 0.6908 GB, free: 13.78 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 5.386e-05/0.4271, allocations: 16.98 kB / 0.6908 GB, free: 13.77 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.607e-05/0.4271, allocations: 39.91 kB / 0.6909 GB, free: 13.73 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=11): time 1.493e-06/0.4271, allocations: 0 / 0.6909 GB, free: 13.73 MB / 0.5137 GB Notification: Performance of matching and sorting (n=11): time 0.001227/0.4283, allocations: 451.6 kB / 0.6913 GB, free: 13.51 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.964e-05/0.4284, allocations: 52.72 kB / 0.6914 GB, free: 13.45 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004456/0.4288, allocations: 405.3 kB / 0.6918 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.673e-05/0.4289, allocations: 26.8 kB / 0.6918 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001446/0.429, allocations: 189.8 kB / 0.692 GB, free: 13 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.254e-05/0.429, allocations: 39.84 kB / 0.692 GB, free: 12.97 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.968e-05/0.4291, allocations: 39.3 kB / 0.692 GB, free: 12.94 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001626/0.4293, allocations: 349.2 kB / 0.6924 GB, free: 12.6 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000395/0.4297, allocations: 165.6 kB / 0.6925 GB, free: 12.54 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003699/0.43, allocations: 176.9 kB / 0.6927 GB, free: 12.46 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007397/0.4308, allocations: 348.6 kB / 0.693 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.438e-06/0.4308, allocations: 5.406 kB / 0.693 GB, free: 12.29 MB / 0.5137 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0009228/0.4317, allocations: 463.1 kB / 0.6935 GB, free: 12.07 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 5.149e-05/0.4318, allocations: 49.19 kB / 0.6935 GB, free: 12.03 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.4318, allocations: 5.312 kB / 0.6935 GB, free: 12.02 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.859e-05/0.4318, allocations: 3.938 kB / 0.6935 GB, free: 12.02 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003015/0.4321, allocations: 45.31 kB / 0.6936 GB, free: 12 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.965e-06/0.4321, allocations: 3.984 kB / 0.6936 GB, free: 12 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002567/0.4324, allocations: 42.34 kB / 0.6936 GB, free: 11.98 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.949e-05/0.4324, allocations: 4.344 kB / 0.6936 GB, free: 11.98 MB / 0.5137 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.0001681/0.4325, allocations: 156.8 kB / 0.6938 GB, free: 11.84 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.611e-05/0.4326, allocations: 34.17 kB / 0.6938 GB, free: 11.82 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008669/0.4335, allocations: 350 kB / 0.6941 GB, free: 11.62 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.4335, allocations: 1.5 kB / 0.6941 GB, free: 11.62 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.966e-06/0.4335, allocations: 3.984 kB / 0.6941 GB, free: 11.62 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.4335, allocations: 0 / 0.6941 GB, free: 11.62 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004055/0.4339, allocations: 351 kB / 0.6945 GB, free: 11.31 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.4339, allocations: 3.938 kB / 0.6945 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002771/0.4342, allocations: 48.58 kB / 0.6945 GB, free: 11.29 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.397e-06/0.4342, allocations: 1.156 kB / 0.6945 GB, free: 11.29 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.969e-05/0.4342, allocations: 9.172 kB / 0.6945 GB, free: 11.28 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.4342, allocations: 1.125 kB / 0.6945 GB, free: 11.28 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.4342, allocations: 0 / 0.6945 GB, free: 11.28 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008691/0.4351, allocations: 420.1 kB / 0.6949 GB, free: 11.02 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001653/0.4352, allocations: 127 kB / 0.6951 GB, free: 10.89 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.945e-05/0.4353, allocations: 5.25 kB / 0.6951 GB, free: 10.88 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002577/0.4356, allocations: 26.31 kB / 0.6951 GB, free: 10.87 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.542e-05/0.4356, allocations: 20.88 kB / 0.6951 GB, free: 10.86 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.357e-05/0.4356, allocations: 3.312 kB / 0.6951 GB, free: 10.86 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.000312/0.436, allocations: 286.8 kB / 0.6954 GB, free: 10.68 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.01e-07/0.436, allocations: 0 / 0.6954 GB, free: 10.68 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0004858/0.4364, allocations: 125.2 kB / 0.6955 GB, free: 10.66 MB / 0.5137 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.001349/0.4378, allocations: 1.02 MB / 0.6965 GB, free: 9.84 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0009254/0.4387, allocations: 472.3 kB / 0.697 GB, free: 9.605 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.4387, allocations: 0 / 0.697 GB, free: 9.605 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0003599/0.4391, allocations: 140.1 kB / 0.6971 GB, free: 9.547 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005256/0.4396, allocations: 62.7 kB / 0.6971 GB, free: 9.512 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005952/0.4456, allocations: 4.188 MB / 0.7012 GB, free: 6.895 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004282/0.446, allocations: 0.7892 MB / 0.702 GB, free: 6.145 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.000208/0.4462, allocations: 41.36 kB / 0.702 GB, free: 6.129 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001624/0.4464, allocations: 106.9 kB / 0.7021 GB, free: 6.035 MB / 0.5137 GB Notification: Performance of SimCode: time 8.72e-07/0.4464, allocations: 4 kB / 0.7022 GB, free: 6.031 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03279/0.4791, allocations: 8.373 MB / 0.7103 GB, free: 14.78 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.399/8.879, allocations: 8.141 kB / 0.7103 GB, free: 14.78 MB / 0.5294 GB " [Timeout remaining time 651] (rm -f IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain.fmu > IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.121709439903498] Failed to read output from testmodel.py, exit status != 0: 8.95084473490715 8.97559247 8.54899826 Calling exit ...