Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad.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.001341/0.001341, allocations: 117.7 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.001363/0.001363, allocations: 192.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.452/1.452, allocations: 225.6 MB / 248.5 MB, free: 3.609 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.8861/0.8861, allocations: 129.2 MB / 432.5 MB, free: 13.17 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.Electrical.AC.OnePhase.Examples.GridDCLoad,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Examples_GridDCLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Examples_GridDCLoad",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00198/0.00198, allocations: 63.89 kB / 0.5987 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.43/0.4319, allocations: 83.44 MB / 0.6802 GB, free: 5.984 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.004856/0.4368, allocations: 3.089 MB / 0.6832 GB, free: 3.613 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002879/0.4397, allocations: 1.948 MB / 0.6851 GB, free: 2.086 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001292/0.4398, allocations: 8.844 kB / 0.6851 GB, free: 2.082 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0008324/0.4406, allocations: 292.5 kB / 0.6854 GB, free: 1.863 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0004201/0.4411, allocations: 199.2 kB / 0.6856 GB, free: 1.711 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006165/0.4417, allocations: 243.6 kB / 0.6858 GB, free: 1.539 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0003987/0.4421, allocations: 314.6 kB / 0.6861 GB, free: 1.367 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003252/0.4424, allocations: 158.6 kB / 0.6862 GB, free: 1.266 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001748/0.4426, allocations: 133 kB / 0.6864 GB, free: 1.191 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002943/0.4429, allocations: 151.6 kB / 0.6865 GB, free: 1.102 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.728e-05/0.4429, allocations: 23.75 kB / 0.6865 GB, free: 1.098 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000621/0.4435, allocations: 415.6 kB / 0.6869 GB, free: 0.8867 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 8.415e-05/0.4436, allocations: 89.34 kB / 0.687 GB, free: 0.8281 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001083/0.4437, allocations: 119.2 kB / 0.6871 GB, free: 0.75 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005566/0.4443, allocations: 493 kB / 0.6876 GB, free: 456 kB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.4443, allocations: 1.5 kB / 0.6876 GB, free: 456 kB / 0.4981 GB Notification: Performance of FrontEnd: time 1.362e-06/0.4443, allocations: 0 / 0.6876 GB, free: 456 kB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.833e-06/0.4443, allocations: 0 / 0.6876 GB, free: 456 kB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.0008484/0.4451, allocations: 0.5747 MB / 0.6882 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.602e-05/0.4452, allocations: 9.344 kB / 0.6882 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.061e-05/0.4453, allocations: 55.95 kB / 0.6882 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008401/0.4461, allocations: 108.5 kB / 0.6883 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004277/0.4465, allocations: 272.2 kB / 0.6886 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.247e-05/0.4466, allocations: 12.28 kB / 0.6886 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.621e-05/0.4466, allocations: 21.58 kB / 0.6886 GB, free: 15.53 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000605/0.4472, allocations: 362.2 kB / 0.689 GB, free: 15.28 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.679e-05/0.4472, allocations: 5.125 kB / 0.689 GB, free: 15.28 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.26e-05/0.4473, allocations: 10.28 kB / 0.689 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.028e-05/0.4473, allocations: 26.39 kB / 0.689 GB, free: 15.26 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005168/0.4478, allocations: 292.5 kB / 0.6893 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00251/0.4503, allocations: 1.732 MB / 0.691 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000517/0.4509, allocations: 320.5 kB / 0.6913 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000171/0.451, allocations: 106.3 kB / 0.6914 GB, free: 13.19 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000116/0.4511, allocations: 87.59 kB / 0.6915 GB, free: 13.09 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.938e-05/0.4512, allocations: 35.59 kB / 0.6915 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=16): time 1.392e-06/0.4512, allocations: 1.062 kB / 0.6915 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of matching and sorting (n=23): time 0.00257/0.4537, allocations: 0.968 MB / 0.6924 GB, free: 12.46 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.668e-05/0.4538, allocations: 87.7 kB / 0.6925 GB, free: 12.36 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002333/0.454, allocations: 211.7 kB / 0.6927 GB, free: 12.2 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.255e-05/0.4541, allocations: 31.3 kB / 0.6928 GB, free: 12.16 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001299/0.4542, allocations: 172.6 kB / 0.6929 GB, free: 12 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 7.386e-05/0.4543, allocations: 94.12 kB / 0.693 GB, free: 11.92 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001078/0.4544, allocations: 62.12 kB / 0.6931 GB, free: 11.88 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001601/0.4546, allocations: 332.4 kB / 0.6934 GB, free: 11.55 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001999/0.4548, allocations: 136 kB / 0.6935 GB, free: 11.48 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002663/0.455, allocations: 207.8 kB / 0.6937 GB, free: 11.32 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004787/0.4555, allocations: 364 kB / 0.6941 GB, free: 11.07 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.4555, allocations: 4.844 kB / 0.6941 GB, free: 11.07 MB / 0.5137 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008609/0.4564, allocations: 0.512 MB / 0.6946 GB, free: 10.77 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/0.4564, allocations: 6.25 kB / 0.6946 GB, free: 10.77 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.4564, allocations: 2.781 kB / 0.6946 GB, free: 10.77 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005204/0.4569, allocations: 150.4 kB / 0.6947 GB, free: 10.68 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002545/0.4572, allocations: 59.81 kB / 0.6948 GB, free: 10.66 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003549/0.4607, allocations: 4.191 MB / 0.6989 GB, free: 6.492 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001976/0.4609, allocations: 17.42 kB / 0.6989 GB, free: 6.484 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.793e-05/0.4609, allocations: 13.28 kB / 0.6989 GB, free: 6.48 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (32): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002017/0.4611, allocations: 168.6 kB / 0.6991 GB, free: 6.328 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.181e-05/0.4612, allocations: 21.39 kB / 0.6991 GB, free: 6.316 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009104/0.4621, allocations: 471.5 kB / 0.6995 GB, free: 6.023 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.12e-06/0.4621, allocations: 7.219 kB / 0.6995 GB, free: 6.02 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/0.4621, allocations: 1.094 kB / 0.6995 GB, free: 6.02 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.742e-06/0.4621, allocations: 5.109 kB / 0.6995 GB, free: 6.016 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001641/0.4638, allocations: 1.006 MB / 0.7005 GB, free: 5.227 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.498e-06/0.4638, allocations: 3.719 kB / 0.7005 GB, free: 5.227 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001271/0.4639, allocations: 32.14 kB / 0.7006 GB, free: 5.219 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003865/0.4643, allocations: 141.4 kB / 0.7007 GB, free: 5.133 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.446e-05/0.4643, allocations: 12.44 kB / 0.7007 GB, free: 5.125 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003503/0.4678, allocations: 4.158 MB / 0.7048 GB, free: 0.9766 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.4678, allocations: 2.75 kB / 0.7048 GB, free: 0.9766 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008749/0.4687, allocations: 0.622 MB / 0.7054 GB, free: 492 kB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001802/0.4689, allocations: 130.2 kB / 0.7055 GB, free: 360 kB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.782e-05/0.4689, allocations: 8.219 kB / 0.7055 GB, free: 356 kB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002372/0.4692, allocations: 21.28 kB / 0.7055 GB, free: 344 kB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.987e-05/0.4692, allocations: 27.61 kB / 0.7056 GB, free: 328 kB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.231e-05/0.4692, allocations: 15.89 kB / 0.7056 GB, free: 320 kB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001718/0.4694, allocations: 157.5 kB / 0.7057 GB, free: 204 kB / 0.5137 GB Notification: Performance of sort global known variables: time 8.1e-08/0.4694, allocations: 0 / 0.7057 GB, free: 204 kB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0005532/0.47, allocations: 86.12 kB / 0.7058 GB, free: 192 kB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (21): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001321/0.4713, allocations: 1.197 MB / 0.707 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0009811/0.4723, allocations: 0.5565 MB / 0.7075 GB, free: 14.75 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.4723, allocations: 1.469 kB / 0.7075 GB, free: 14.75 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0005599/0.4728, allocations: 398.6 kB / 0.7079 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005489/0.4734, allocations: 49.97 kB / 0.7079 GB, free: 14.4 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004595/0.478, allocations: 3.33 MB / 0.7112 GB, free: 11.78 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004706/0.4784, allocations: 0.7831 MB / 0.712 GB, free: 11.03 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0001821/0.4786, allocations: 59.59 kB / 0.712 GB, free: 11.01 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001169/0.4787, allocations: 70.84 kB / 0.7121 GB, free: 10.95 MB / 0.5294 GB Notification: Performance of SimCode: time 7.41e-07/0.4787, allocations: 1.344 kB / 0.7121 GB, free: 10.95 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03756/0.5163, allocations: 6.747 MB / 0.7187 GB, free: 4.93 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.25/12.77, allocations: 9.828 kB / 0.7187 GB, free: 4.926 MB / 0.5294 GB " [Timeout remaining time 647] (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Examples_GridDCLoad_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Examples_GridDCLoad.fmu > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.241437498945743] Failed to read output from testmodel.py, exit status != 0: 12.866536252666265 12.888732693 12.44033439 Calling exit ...