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.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.001077/0.001077, allocations: 72.5 kB / 19.92 MB, free: 4.633 MB / 18.57 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.001176/0.001176, allocations: 173.9 kB / 23.21 MB, free: 1.355 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.9226/0.9226, allocations: 177.1 MB / 203.5 MB, free: 5.715 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.5599/0.5599, allocations: 114 MB / 373.9 MB, free: 8.723 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(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 1.573e-06/1.573e-06, allocations: 0 / 0.5542 GB, free: 1.758 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.249e-05/2.407e-05, allocations: 5.094 kB / 0.5542 GB, free: 1.754 MB / 474.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.003335/0.003359, allocations: 3.02 MB / 0.5571 GB, free: 14.72 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.002437/0.005796, allocations: 1.865 MB / 0.5589 GB, free: 12.84 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001203/0.005917, allocations: 11.88 kB / 0.5589 GB, free: 12.83 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006217/0.006538, allocations: 278.9 kB / 0.5592 GB, free: 12.56 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000357/0.006895, allocations: 202.9 kB / 0.5594 GB, free: 12.36 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004532/0.007349, allocations: 261.8 kB / 0.5597 GB, free: 12.11 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002555/0.007604, allocations: 334.8 kB / 0.56 GB, free: 11.78 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002574/0.007862, allocations: 153 kB / 0.5601 GB, free: 11.62 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001961/0.008058, allocations: 187.5 kB / 0.5603 GB, free: 11.44 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002154/0.008273, allocations: 135.6 kB / 0.5604 GB, free: 11.31 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.51e-05/0.008298, allocations: 20 kB / 0.5604 GB, free: 11.29 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003552/0.008653, allocations: 387 kB / 0.5608 GB, free: 10.91 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 7.26e-05/0.008726, allocations: 91.72 kB / 0.5609 GB, free: 10.82 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 6.275e-05/0.008789, allocations: 79.83 kB / 0.561 GB, free: 10.74 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004368/0.009225, allocations: 0.5219 MB / 0.5615 GB, free: 10.22 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.994e-06/0.009227, allocations: 0 / 0.5615 GB, free: 10.22 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.009229, allocations: 0 / 0.5615 GB, free: 10.22 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.228e-06/0.009233, allocations: 0 / 0.5615 GB, free: 10.22 MB / 490.7 MB 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.000627/0.00986, allocations: 0.4894 MB / 0.562 GB, free: 9.699 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.854e-05/0.009898, allocations: 16.56 kB / 0.562 GB, free: 9.684 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.633e-05/0.009945, allocations: 66.72 kB / 0.562 GB, free: 9.609 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004236/0.01037, allocations: 116.6 kB / 0.5622 GB, free: 9.496 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002418/0.01061, allocations: 208.8 kB / 0.5624 GB, free: 9.27 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.524e-05/0.01063, allocations: 16.86 kB / 0.5624 GB, free: 9.254 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.555e-05/0.01065, allocations: 20.38 kB / 0.5624 GB, free: 9.234 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003984/0.01105, allocations: 401 kB / 0.5628 GB, free: 8.809 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.112e-05/0.01106, allocations: 8.188 kB / 0.5628 GB, free: 8.801 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.018e-05/0.01108, allocations: 8.125 kB / 0.5628 GB, free: 8.793 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.093e-05/0.01111, allocations: 28.48 kB / 0.5628 GB, free: 8.766 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003008/0.01141, allocations: 289.8 kB / 0.5631 GB, free: 8.48 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001502/0.01291, allocations: 1.276 MB / 0.5643 GB, free: 7.137 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002765/0.01319, allocations: 241 kB / 0.5646 GB, free: 6.883 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001022/0.01329, allocations: 97.67 kB / 0.5647 GB, free: 6.781 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.365e-05/0.01335, allocations: 15.92 kB / 0.5647 GB, free: 6.766 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.053e-05/0.01337, allocations: 34.56 kB / 0.5647 GB, free: 6.723 MB / 490.7 MB Notification: Performance of pre-optimization done (n=16): time 1.273e-06/0.01337, allocations: 0 / 0.5647 GB, free: 6.723 MB / 490.7 MB Notification: Performance of matching and sorting (n=23): time 0.001447/0.01482, allocations: 0.9034 MB / 0.5656 GB, free: 5.801 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.497e-05/0.01485, allocations: 81.11 kB / 0.5657 GB, free: 5.703 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001567/0.01501, allocations: 215.8 kB / 0.5659 GB, free: 5.48 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.924e-05/0.01503, allocations: 29.7 kB / 0.5659 GB, free: 5.445 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.524e-05/0.01511, allocations: 172.5 kB / 0.5661 GB, free: 5.273 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.179e-05/0.01515, allocations: 83.27 kB / 0.5661 GB, free: 5.191 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.595e-05/0.01522, allocations: 65.64 kB / 0.5662 GB, free: 5.121 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.586e-05/0.0153, allocations: 334.8 kB / 0.5665 GB, free: 4.785 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001253/0.01542, allocations: 135.9 kB / 0.5667 GB, free: 4.652 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001599/0.01558, allocations: 210.4 kB / 0.5669 GB, free: 4.414 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003057/0.01589, allocations: 372.4 kB / 0.5672 GB, free: 4.02 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.664e-06/0.01589, allocations: 0 / 0.5672 GB, free: 4.02 MB / 490.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0005299/0.01642, allocations: 0.5043 MB / 0.5677 GB, free: 3.496 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.814e-05/0.01644, allocations: 8 kB / 0.5677 GB, free: 3.488 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/0.01644, allocations: 0 / 0.5677 GB, free: 3.488 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003217/0.01676, allocations: 155.6 kB / 0.5679 GB, free: 3.324 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001564/0.01692, allocations: 59.91 kB / 0.5679 GB, free: 3.266 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002428/0.01935, allocations: 3.967 MB / 0.5718 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.392e-05/0.01944, allocations: 15.98 kB / 0.5718 GB, free: 15 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.743e-05/0.01946, allocations: 19.98 kB / 0.5718 GB, free: 14.98 MB / 0.4948 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.0001086/0.01957, allocations: 164.1 kB / 0.572 GB, free: 14.81 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.596e-05/0.0196, allocations: 23.8 kB / 0.572 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005237/0.02013, allocations: 477.9 kB / 0.5725 GB, free: 14.3 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.02013, allocations: 15.88 kB / 0.5725 GB, free: 14.29 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.347e-06/0.02014, allocations: 0 / 0.5725 GB, free: 14.29 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.02014, allocations: 0 / 0.5725 GB, free: 14.29 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000968/0.02111, allocations: 0.9303 MB / 0.5734 GB, free: 13.27 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.02111, allocations: 4 kB / 0.5734 GB, free: 13.27 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.896e-05/0.02118, allocations: 43.91 kB / 0.5734 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002125/0.02139, allocations: 135.6 kB / 0.5736 GB, free: 13.08 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.523e-05/0.02141, allocations: 12 kB / 0.5736 GB, free: 13.07 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001713/0.02312, allocations: 3.936 MB / 0.5774 GB, free: 8.852 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.02312, allocations: 4.031 kB / 0.5774 GB, free: 8.848 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007793/0.0239, allocations: 0.6177 MB / 0.578 GB, free: 8.176 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.808e-05/0.02397, allocations: 48.09 kB / 0.5781 GB, free: 8.129 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.884e-05/0.02399, allocations: 15.98 kB / 0.5781 GB, free: 8.113 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001161/0.0241, allocations: 19.92 kB / 0.5781 GB, free: 8.094 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.396e-05/0.02414, allocations: 27.91 kB / 0.5781 GB, free: 8.066 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.214e-05/0.02415, allocations: 11.98 kB / 0.5781 GB, free: 8.055 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 8.627e-05/0.02424, allocations: 157.5 kB / 0.5783 GB, free: 7.902 MB / 0.4948 GB Notification: Performance of sort global known variables: time 8e-08/0.02424, allocations: 0 / 0.5783 GB, free: 7.902 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0003119/0.02455, allocations: 87.94 kB / 0.5784 GB, free: 7.816 MB / 0.4948 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.0007826/0.02533, allocations: 1.206 MB / 0.5796 GB, free: 6.547 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0005632/0.02589, allocations: 0.5606 MB / 0.5801 GB, free: 5.961 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.0259, allocations: 0 / 0.5801 GB, free: 5.961 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002916/0.02619, allocations: 393.1 kB / 0.5805 GB, free: 5.551 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005252/0.02671, allocations: 46.83 kB / 0.5805 GB, free: 5.508 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003215/0.02993, allocations: 3.308 MB / 0.5838 GB, free: 1.988 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001297/0.03006, allocations: 173.2 kB / 0.5839 GB, free: 1.797 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0001029/0.03016, allocations: 62.17 kB / 0.584 GB, free: 1.738 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.757e-05/0.03024, allocations: 72.48 kB / 0.584 GB, free: 1.668 MB / 0.4948 GB Notification: Performance of SimCode: time 8.22e-07/0.03024, allocations: 0 / 0.584 GB, free: 1.668 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02212/0.05236, allocations: 7.488 MB / 0.5914 GB, free: 10.39 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.139/8.192, allocations: 0 / 0.5914 GB, free: 10.39 MB / 0.5105 GB " [Timeout remaining time 652] (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: 10.693548294715583] Failed to read output from testmodel.py, exit status != 0: 8.285395555198193 8.29510354 8.284216934 Calling exit ...