Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.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.00136/0.00136, allocations: 108.8 kB / 16.45 MB, free: 6.391 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.001331/0.001331, allocations: 191.7 kB / 19.41 MB, free: 3.75 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.522/1.522, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.085/1.085, allocations: 175.8 MB / 478.4 MB, free: 8.59 MB / 382.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_L,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_OnePhase_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_L,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_OnePhase_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00202/0.00202, allocations: 68.42 kB / 0.6652 GB, free: 0.5195 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2125/0.2146, allocations: 94.54 MB / 0.7575 GB, free: 1.879 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_L): time 0.4219/0.6364, allocations: 6.16 MB / 0.7636 GB, free: 6.402 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.005153/0.6416, allocations: 3.18 MB / 0.7667 GB, free: 4.953 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009275/0.6425, allocations: 29.66 kB / 0.7667 GB, free: 4.941 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.00342/0.6459, allocations: 0.9445 MB / 0.7676 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002259/0.6482, allocations: 494.2 kB / 0.7681 GB, free: 4.098 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002007/0.6502, allocations: 484.9 kB / 0.7685 GB, free: 3.867 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002524/0.6527, allocations: 1.094 MB / 0.7696 GB, free: 3.375 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001273/0.654, allocations: 0.5108 MB / 0.7701 GB, free: 3.156 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001126/0.6551, allocations: 440.8 kB / 0.7705 GB, free: 2.969 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009667/0.6561, allocations: 499.7 kB / 0.771 GB, free: 2.77 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001611/0.6562, allocations: 62.16 kB / 0.7711 GB, free: 2.766 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001547/0.6578, allocations: 0.4955 MB / 0.7715 GB, free: 2.594 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0004657/0.6582, allocations: 295.5 kB / 0.7718 GB, free: 2.473 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0006051/0.6589, allocations: 404.6 kB / 0.7722 GB, free: 2.23 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002677/0.6615, allocations: 1.175 MB / 0.7734 GB, free: 1.828 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.6615, allocations: 0 / 0.7734 GB, free: 1.828 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.563e-06/0.6615, allocations: 3.938 kB / 0.7734 GB, free: 1.824 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.016e-05/0.6616, allocations: 0 / 0.7734 GB, free: 1.824 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.002414/0.664, allocations: 1.081 MB / 0.7744 GB, free: 1.027 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.886e-05/0.664, allocations: 9.672 kB / 0.7744 GB, free: 1.027 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000171/0.6642, allocations: 116.5 kB / 0.7745 GB, free: 0.9453 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003134/0.6673, allocations: 222.6 kB / 0.7748 GB, free: 0.8906 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001605/0.6689, allocations: 0.5817 MB / 0.7753 GB, free: 0.5273 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.837e-05/0.669, allocations: 55.11 kB / 0.7754 GB, free: 0.5 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001636/0.6691, allocations: 68.25 kB / 0.7754 GB, free: 484 kB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002336/0.6715, allocations: 1.029 MB / 0.7764 GB, free: 15.87 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.007e-05/0.6715, allocations: 7.922 kB / 0.7765 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001097/0.6716, allocations: 26.98 kB / 0.7765 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001587/0.6718, allocations: 70 kB / 0.7765 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001981/0.6738, allocations: 0.6967 MB / 0.7772 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009637/0.6834, allocations: 5.738 MB / 0.7828 GB, free: 10.62 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001492/0.6849, allocations: 0.5502 MB / 0.7834 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001394/0.6863, allocations: 383.6 kB / 0.7837 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 4.409e-05/0.6863, allocations: 6.344 kB / 0.7837 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.485e-05/0.6864, allocations: 39.88 kB / 0.7838 GB, free: 10.12 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=41): time 4.759e-06/0.6864, allocations: 3.5 kB / 0.7838 GB, free: 10.12 MB / 0.5919 GB Notification: Performance of matching and sorting (n=42): time 0.00808/0.6945, allocations: 2.007 MB / 0.7857 GB, free: 9.078 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.881e-05/0.6946, allocations: 56.23 kB / 0.7858 GB, free: 9.016 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001095/0.6957, allocations: 457.4 kB / 0.7862 GB, free: 8.797 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.799e-05/0.6957, allocations: 34.8 kB / 0.7863 GB, free: 8.758 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.000477/0.6962, allocations: 390.5 kB / 0.7866 GB, free: 8.449 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002621/0.6965, allocations: 167.6 kB / 0.7868 GB, free: 8.316 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003127/0.6968, allocations: 109.7 kB / 0.7869 GB, free: 8.254 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.000295/0.6971, allocations: 359.7 kB / 0.7872 GB, free: 7.922 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007417/0.6978, allocations: 243.8 kB / 0.7875 GB, free: 7.84 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001109/0.6989, allocations: 458.7 kB / 0.7879 GB, free: 7.48 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00202/0.701, allocations: 0.7482 MB / 0.7886 GB, free: 6.969 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.011e-05/0.701, allocations: 6.188 kB / 0.7887 GB, free: 6.965 MB / 0.5919 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.004214/0.7052, allocations: 1.032 MB / 0.7897 GB, free: 6.531 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 4.606e-05/0.7052, allocations: 8.938 kB / 0.7897 GB, free: 6.531 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.861e-05/0.7053, allocations: 15.69 kB / 0.7897 GB, free: 6.523 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001981/0.7072, allocations: 320.2 kB / 0.79 GB, free: 6.426 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006495/0.7079, allocations: 98.91 kB / 0.7901 GB, free: 6.414 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01314/0.721, allocations: 7.476 MB / 0.7974 GB, free: 52 kB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007736/0.7218, allocations: 30.34 kB / 0.7974 GB, free: 44 kB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.321e-05/0.7219, allocations: 28.41 kB / 0.7974 GB, free: 36 kB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (53): * Single equations (assignments): 49 * 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): 4 systems {(3,7,88.9%), (1,5,100.0%), (1,3,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005978/0.7225, allocations: 241.6 kB / 0.7977 GB, free: 15.86 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001645/0.7226, allocations: 68.31 kB / 0.7977 GB, free: 15.82 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002454/0.7251, allocations: 0.88 MB / 0.7986 GB, free: 15.44 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.228e-06/0.7251, allocations: 6.125 kB / 0.7986 GB, free: 15.44 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.062e-05/0.7251, allocations: 4.906 kB / 0.7986 GB, free: 15.44 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.356e-06/0.7251, allocations: 2.016 kB / 0.7986 GB, free: 15.44 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003872/0.729, allocations: 1.662 MB / 0.8002 GB, free: 14.59 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.889e-06/0.729, allocations: 1.188 kB / 0.8002 GB, free: 14.59 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001804/0.7292, allocations: 42.5 kB / 0.8003 GB, free: 14.59 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009396/0.7301, allocations: 311 kB / 0.8006 GB, free: 14.49 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.869e-05/0.7302, allocations: 8.812 kB / 0.8006 GB, free: 14.49 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008454/0.7386, allocations: 7.468 MB / 0.8079 GB, free: 8.125 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.903e-06/0.7386, allocations: 14.84 kB / 0.8079 GB, free: 8.113 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002013/0.7406, allocations: 0.9698 MB / 0.8088 GB, free: 7.609 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004356/0.7411, allocations: 182.7 kB / 0.809 GB, free: 7.461 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001305/0.7412, allocations: 8.125 kB / 0.809 GB, free: 7.457 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003357/0.7415, allocations: 24.55 kB / 0.809 GB, free: 7.449 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001569/0.7417, allocations: 43.55 kB / 0.8091 GB, free: 7.438 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.121e-05/0.7417, allocations: 13.62 kB / 0.8091 GB, free: 7.434 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0004774/0.7422, allocations: 302.6 kB / 0.8094 GB, free: 7.293 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.11e-07/0.7422, allocations: 0 / 0.8094 GB, free: 7.293 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001015/0.7432, allocations: 198.3 kB / 0.8096 GB, free: 7.27 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (23): * Single equations (assignments): 19 * 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): 4 systems {(3,7,88.9%), (2,2,100.0%), (1,3,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002168/0.7454, allocations: 1.528 MB / 0.8111 GB, free: 6.219 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002172/0.7476, allocations: 1.155 MB / 0.8122 GB, free: 5.406 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.428e-06/0.7476, allocations: 9.75 kB / 0.8122 GB, free: 5.398 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001302/0.7489, allocations: 0.8316 MB / 0.813 GB, free: 4.727 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001151/0.75, allocations: 199.9 kB / 0.8132 GB, free: 4.637 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009724/0.7597, allocations: 5.831 MB / 0.8189 GB, free: 0.5469 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009073/0.7606, allocations: 0.9941 MB / 0.8199 GB, free: 15.7 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0003777/0.761, allocations: 97.33 kB / 0.82 GB, free: 15.66 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000346/0.7614, allocations: 230.9 kB / 0.8202 GB, free: 15.46 MB / 0.6231 GB Notification: Performance of SimCode: time 8.52e-07/0.7614, allocations: 0 / 0.8202 GB, free: 15.46 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0568/0.8182, allocations: 15.37 MB / 0.8352 GB, free: 6.461 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.72/11.54, allocations: 9.844 kB / 0.8352 GB, free: 6.457 MB / 0.6231 GB " [Timeout remaining time 648] (rm -f IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Electrical_AC_OnePhase_Lines_Examples_ACLine_L_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Electrical_AC_OnePhase_Lines_Examples_ACLine_L.fmu > IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.49398526083678] Failed to read output from testmodel.py, exit status != 0: 11.631634298712015 11.651556542 10.985288956 Calling exit ...