Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.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.001345/0.001345, allocations: 106.2 kB / 16.45 MB, free: 6.035 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.001327/0.001327, allocations: 192.5 kB / 19.41 MB, free: 3.539 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.409/1.409, allocations: 225.6 MB / 247.8 MB, free: 13.93 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.113/1.113, allocations: 175.8 MB / 478.4 MB, free: 8.465 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.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002013/0.002013, allocations: 60.25 kB / 0.6652 GB, free: 0.5469 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1833/0.1853, allocations: 94.54 MB / 0.7575 GB, free: 1.898 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.3982/0.5836, allocations: 35.68 MB / 0.7924 GB, free: 3.074 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.02167/0.6052, allocations: 10.06 MB / 0.8022 GB, free: 12.18 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003907/0.6091, allocations: 148.4 kB / 0.8023 GB, free: 12.13 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0113/0.6204, allocations: 3.865 MB / 0.8061 GB, free: 9.836 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.007801/0.6282, allocations: 2.137 MB / 0.8082 GB, free: 8.504 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.006449/0.6347, allocations: 1.974 MB / 0.8101 GB, free: 7.324 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.01171/0.6464, allocations: 7.973 MB / 0.8179 GB, free: 2.734 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01172/0.6581, allocations: 7.135 MB / 0.8249 GB, free: 15.25 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006954/0.6651, allocations: 3.43 MB / 0.8282 GB, free: 13.26 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008084/0.6732, allocations: 3.929 MB / 0.8321 GB, free: 10.83 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.002381/0.6755, allocations: 0.6826 MB / 0.8327 GB, free: 10.83 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005157/0.6807, allocations: 1.471 MB / 0.8342 GB, free: 9.82 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.004551/0.6852, allocations: 2.677 MB / 0.8368 GB, free: 7.137 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.006288/0.6915, allocations: 3.108 MB / 0.8398 GB, free: 4.016 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.01436/0.7059, allocations: 10.41 MB / 0.85 GB, free: 9.578 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 6.231e-06/0.7059, allocations: 0 / 0.85 GB, free: 9.578 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.893e-06/0.7059, allocations: 0 / 0.85 GB, free: 9.578 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0002727/0.7062, allocations: 0 / 0.85 GB, free: 9.578 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1286 * Number of variables: 1286 Notification: Performance of Generate backend data structure: time 0.01564/0.7218, allocations: 5.538 MB / 0.8554 GB, free: 3.961 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.986e-05/0.7219, allocations: 12.03 kB / 0.8554 GB, free: 3.949 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002481/0.7243, allocations: 0.6984 MB / 0.8561 GB, free: 3.242 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006013/0.7304, allocations: 0.9928 MB / 0.8571 GB, free: 2.246 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008196/0.7386, allocations: 3.192 MB / 0.8602 GB, free: 15 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003701/0.7389, allocations: 365.9 kB / 0.8605 GB, free: 14.64 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001511/0.7404, allocations: 468.3 kB / 0.861 GB, free: 14.18 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01738/0.7578, allocations: 7.902 MB / 0.8687 GB, free: 5.918 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000165/0.758, allocations: 23.83 kB / 0.8687 GB, free: 5.895 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009972/0.759, allocations: 212 kB / 0.8689 GB, free: 5.688 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005717/0.7596, allocations: 365.1 kB / 0.8693 GB, free: 5.328 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01315/0.7727, allocations: 5.945 MB / 0.8751 GB, free: 15.36 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0474/0.8201, allocations: 36.01 MB / 0.9102 GB, free: 8.148 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003686/0.8238, allocations: 1.986 MB / 0.9122 GB, free: 6.152 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002068/0.8259, allocations: 1.34 MB / 0.9135 GB, free: 4.812 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 8.074e-05/0.8259, allocations: 17.31 kB / 0.9135 GB, free: 4.797 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.315e-05/0.826, allocations: 55.81 kB / 0.9136 GB, free: 4.734 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=157): time 3.457e-06/0.826, allocations: 0 / 0.9136 GB, free: 4.734 MB / 0.7012 GB Notification: Performance of matching and sorting (n=160): time 0.01448/0.8405, allocations: 7.578 MB / 0.921 GB, free: 12.89 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.31e-05/0.8405, allocations: 68.72 kB / 0.921 GB, free: 12.81 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002743/0.8433, allocations: 1.86 MB / 0.9228 GB, free: 10.92 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0002352/0.8435, allocations: 53.7 kB / 0.9229 GB, free: 10.86 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.001642/0.8452, allocations: 2.184 MB / 0.925 GB, free: 8.66 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006883/0.8458, allocations: 0.5888 MB / 0.9256 GB, free: 8.066 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006572/0.8465, allocations: 411.9 kB / 0.926 GB, free: 7.656 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001668/0.8467, allocations: 301.1 kB / 0.9263 GB, free: 7.359 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001784/0.8485, allocations: 1.062 MB / 0.9273 GB, free: 6.293 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002527/0.851, allocations: 1.764 MB / 0.929 GB, free: 4.207 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004308/0.8553, allocations: 3.041 MB / 0.932 GB, free: 0.8516 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.505e-05/0.8553, allocations: 4 kB / 0.932 GB, free: 0.8477 MB / 0.7169 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.007144/0.8624, allocations: 3.906 MB / 0.9358 GB, free: 12.89 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.799e-05/0.8625, allocations: 18.34 kB / 0.9358 GB, free: 12.88 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.431e-05/0.8625, allocations: 24 kB / 0.9359 GB, free: 12.85 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00257/0.8651, allocations: 0.9283 MB / 0.9368 GB, free: 11.89 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001729/0.8668, allocations: 431.2 kB / 0.9372 GB, free: 11.46 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.024/0.8908, allocations: 22.78 MB / 0.9594 GB, free: 3.012 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001864/0.8927, allocations: 119.9 kB / 0.9595 GB, free: 2.895 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001874/0.8929, allocations: 99.98 kB / 0.9596 GB, free: 2.797 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (227): * Single equations (assignments): 215 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,6,100.0%), (2,6,100.0%), (2,6,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002691/0.8956, allocations: 1.648 MB / 0.9612 GB, free: 1.137 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000544/0.8961, allocations: 270.4 kB / 0.9615 GB, free: 0.8711 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00579/0.9019, allocations: 3.229 MB / 0.9647 GB, free: 13.59 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-05/0.9019, allocations: 19.94 kB / 0.9647 GB, free: 13.57 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.031e-05/0.9019, allocations: 12 kB / 0.9647 GB, free: 13.56 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.703e-05/0.902, allocations: 7.969 kB / 0.9647 GB, free: 13.55 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01417/0.9161, allocations: 7.522 MB / 0.972 GB, free: 5.879 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.42e-05/0.9161, allocations: 4 kB / 0.972 GB, free: 5.875 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009782/0.9171, allocations: 219.6 kB / 0.9723 GB, free: 5.66 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002537/0.9197, allocations: 0.896 MB / 0.9731 GB, free: 4.727 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001715/0.9198, allocations: 28 kB / 0.9732 GB, free: 4.699 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02516/0.945, allocations: 22.74 MB / 0.9954 GB, free: 12.27 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.124e-06/0.945, allocations: 4 kB / 0.9954 GB, free: 12.27 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00633/0.9513, allocations: 3.373 MB / 0.9987 GB, free: 8.785 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001479/0.9528, allocations: 0.5383 MB / 0.9992 GB, free: 8.227 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005288/0.9533, allocations: 39.88 kB / 0.9992 GB, free: 8.188 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001248/0.9546, allocations: 91.88 kB / 0.9993 GB, free: 8.098 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003785/0.955, allocations: 149.1 kB / 0.9995 GB, free: 7.953 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001233/0.9551, allocations: 40 kB / 0.9995 GB, free: 7.914 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.002094/0.9572, allocations: 1.225 MB / 1.001 GB, free: 6.676 MB / 0.795 GB Notification: Performance of sort global known variables: time 8e-08/0.9572, allocations: 0 / 1.001 GB, free: 6.676 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.002931/0.9601, allocations: 0.9062 MB / 1.002 GB, free: 5.77 MB / 0.795 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (109): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%), (2,6,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.006383/0.9665, allocations: 3.969 MB / 1.005 GB, free: 1.68 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.007723/0.9742, allocations: 4.295 MB / 1.01 GB, free: 13.23 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.042e-05/0.9742, allocations: 0 / 1.01 GB, free: 13.23 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.006759/0.981, allocations: 2.906 MB / 1.012 GB, free: 10.17 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004311/0.9853, allocations: 0.8308 MB / 1.013 GB, free: 9.352 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04542/1.031, allocations: 25.13 MB / 1.038 GB, free: 15.12 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004738/1.035, allocations: 3.209 MB / 1.041 GB, free: 11.88 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.00196/1.037, allocations: 0.5331 MB / 1.041 GB, free: 11.34 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002356/1.04, allocations: 1.655 MB / 1.043 GB, free: 9.691 MB / 0.8419 GB Notification: Performance of SimCode: time 1.483e-06/1.04, allocations: 0 / 1.043 GB, free: 9.691 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5413/1.581, allocations: 70.69 MB / 1.112 GB, free: 277.8 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.32/16.9, allocations: 2.219 kB / 1.112 GB, free: 277.8 MB / 0.8731 GB " [Timeout remaining time 643] (rm -f IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R.fmu > IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 21.065336752682924] Failed to read output from testmodel.py, exit status != 0: 17.02959969593212 17.044470566 16.334997609 Calling exit ...