Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.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.001023/0.001023, allocations: 105.5 kB / 18.95 MB, free: 1.184 MB / 13.93 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.001032/0.001032, allocations: 208.1 kB / 22.24 MB, free: 3.59 MB / 13.93 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.9663/0.9663, allocations: 230.6 MB / 256 MB, free: 9.625 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/package.mo): time 0.7851/0.7851, allocations: 203.5 MB / 0.5039 GB, free: 10.75 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances,fileNamePrefix="IDEAS_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances,fileNamePrefix="IDEAS_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0009712/0.0009712, allocations: 70.09 kB / 0.7178 GB, free: 4.445 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4802/0.4812, allocations: 102 MB / 0.8174 GB, free: 1.258 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances): time 0.01438/0.4956, allocations: 15.47 MB / 0.8325 GB, free: 7.594 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.007463/0.503, allocations: 4.777 MB / 0.8372 GB, free: 4.445 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001327/0.5044, allocations: 88.88 kB / 0.8372 GB, free: 4.402 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.00187/0.5062, allocations: 1.051 MB / 0.8383 GB, free: 3.805 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.001777/0.508, allocations: 0.7726 MB / 0.839 GB, free: 3.336 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.00212/0.5101, allocations: 0.9351 MB / 0.8399 GB, free: 2.816 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.003804/0.5139, allocations: 3.62 MB / 0.8435 GB, free: 1 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002655/0.5166, allocations: 2.439 MB / 0.8459 GB, free: 15.44 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002125/0.5187, allocations: 1.623 MB / 0.8474 GB, free: 14.52 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001735/0.5204, allocations: 1.793 MB / 0.8492 GB, free: 13.43 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0004185/0.5209, allocations: 340.4 kB / 0.8495 GB, free: 13.43 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001258/0.5221, allocations: 0.7437 MB / 0.8502 GB, free: 13.2 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.001083/0.5232, allocations: 1.358 MB / 0.8516 GB, free: 12.33 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.001355/0.5246, allocations: 1.179 MB / 0.8527 GB, free: 11.58 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.004202/0.5288, allocations: 5.164 MB / 0.8578 GB, free: 7.879 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 6.974e-06/0.5288, allocations: 4 kB / 0.8578 GB, free: 7.875 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.826e-06/0.5288, allocations: 7.922 kB / 0.8578 GB, free: 7.867 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.643e-05/0.5289, allocations: 0 / 0.8578 GB, free: 7.867 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 641 * Number of variables: 641 Notification: Performance of Generate backend data structure: time 0.004899/0.5338, allocations: 2.634 MB / 0.8603 GB, free: 6.066 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.758e-05/0.5338, allocations: 10.56 kB / 0.8604 GB, free: 6.066 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004901/0.5343, allocations: 371.1 kB / 0.8607 GB, free: 5.805 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002616/0.5369, allocations: 0.8509 MB / 0.8615 GB, free: 5.367 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002193/0.5391, allocations: 1.535 MB / 0.863 GB, free: 4.426 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001049/0.5392, allocations: 176.6 kB / 0.8632 GB, free: 4.344 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003162/0.5395, allocations: 229.6 kB / 0.8634 GB, free: 4.27 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005593/0.5451, allocations: 4.265 MB / 0.8676 GB, free: 1.656 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.909e-05/0.5452, allocations: 2.25 kB / 0.8676 GB, free: 1.656 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002184/0.5454, allocations: 106.6 kB / 0.8677 GB, free: 1.574 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001751/0.5456, allocations: 165 kB / 0.8678 GB, free: 1.535 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004682/0.5502, allocations: 3.634 MB / 0.8714 GB, free: 14.38 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01156/0.5618, allocations: 11.03 MB / 0.8822 GB, free: 3.008 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001872/0.5637, allocations: 1.462 MB / 0.8836 GB, free: 1.516 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005977/0.5643, allocations: 0.547 MB / 0.8841 GB, free: 0.9609 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 7.839e-05/0.5644, allocations: 16.78 kB / 0.8842 GB, free: 0.9453 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.532e-05/0.5644, allocations: 43.16 kB / 0.8842 GB, free: 0.8945 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=72): time 4.519e-06/0.5644, allocations: 0 / 0.8842 GB, free: 0.8945 MB / 0.6511 GB Notification: Performance of matching and sorting (n=76): time 0.003771/0.5682, allocations: 3.213 MB / 0.8873 GB, free: 13.66 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.138e-05/0.5682, allocations: 115.5 kB / 0.8874 GB, free: 13.52 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009712/0.5692, allocations: 1.049 MB / 0.8885 GB, free: 12.45 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 3.725e-05/0.5692, allocations: 37.7 kB / 0.8885 GB, free: 12.41 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.000458/0.5697, allocations: 1.138 MB / 0.8896 GB, free: 11.25 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002925/0.57, allocations: 297.6 kB / 0.8899 GB, free: 10.96 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002546/0.5702, allocations: 283.4 kB / 0.8902 GB, free: 10.68 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001476/0.5704, allocations: 414.7 kB / 0.8906 GB, free: 10.26 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000628/0.571, allocations: 0.6129 MB / 0.8912 GB, free: 9.648 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008404/0.5719, allocations: 1.185 MB / 0.8923 GB, free: 8.199 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001725/0.5736, allocations: 1.872 MB / 0.8941 GB, free: 6.062 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.173e-05/0.5736, allocations: 8 kB / 0.8942 GB, free: 6.055 MB / 0.6667 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.002182/0.5758, allocations: 2.019 MB / 0.8961 GB, free: 4.016 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.82e-05/0.5758, allocations: 16 kB / 0.8961 GB, free: 4 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.922e-05/0.5758, allocations: 20.12 kB / 0.8962 GB, free: 3.98 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002785/0.5761, allocations: 167.3 kB / 0.8963 GB, free: 3.805 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006483/0.5767, allocations: 339.4 kB / 0.8966 GB, free: 3.473 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.702e-05/0.5768, allocations: 35.86 kB / 0.8967 GB, free: 3.438 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007386/0.5775, allocations: 135.8 kB / 0.8968 GB, free: 3.305 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.93e-05/0.5776, allocations: 64 kB / 0.8969 GB, free: 3.242 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 86 * 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 (169): * Single equations (assignments): 165 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 4 systems {(2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001256/0.5788, allocations: 0.9782 MB / 0.8978 GB, free: 2.254 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001533/0.579, allocations: 123.2 kB / 0.8979 GB, free: 2.133 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001303/0.5803, allocations: 1.23 MB / 0.8991 GB, free: 0.8828 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.264e-06/0.5803, allocations: 8 kB / 0.8991 GB, free: 0.875 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.095e-06/0.5803, allocations: 0 / 0.8991 GB, free: 0.875 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.795e-06/0.5803, allocations: 7.984 kB / 0.8992 GB, free: 0.8672 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004126/0.5844, allocations: 3.439 MB / 0.9025 GB, free: 13.33 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.392e-06/0.5844, allocations: 4 kB / 0.9025 GB, free: 13.33 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003642/0.5848, allocations: 155.8 kB / 0.9027 GB, free: 13.18 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002234/0.585, allocations: 147.5 kB / 0.9028 GB, free: 13.02 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.818e-05/0.5851, allocations: 16 kB / 0.9028 GB, free: 13 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.344e-06/0.5851, allocations: 15.88 kB / 0.9028 GB, free: 12.99 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.5851, allocations: 0 / 0.9028 GB, free: 12.99 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001338/0.5864, allocations: 1.474 MB / 0.9043 GB, free: 11.46 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003666/0.5868, allocations: 195.3 kB / 0.9045 GB, free: 11.27 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.654e-05/0.5869, allocations: 19.98 kB / 0.9045 GB, free: 11.25 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003413/0.5872, allocations: 67.91 kB / 0.9045 GB, free: 11.18 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.724e-05/0.5873, allocations: 64.42 kB / 0.9046 GB, free: 11.11 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.768e-05/0.5873, allocations: 24 kB / 0.9046 GB, free: 11.09 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0006942/0.588, allocations: 0.6992 MB / 0.9053 GB, free: 10.38 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.71e-07/0.588, allocations: 0 / 0.9053 GB, free: 10.38 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001206/0.5892, allocations: 380 kB / 0.9057 GB, free: 10.01 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (76): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 4 systems {(2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001802/0.591, allocations: 2.041 MB / 0.9077 GB, free: 7.902 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001574/0.5926, allocations: 1.36 MB / 0.909 GB, free: 6.535 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/0.5926, allocations: 0 / 0.909 GB, free: 6.535 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0005387/0.5932, allocations: 0.5378 MB / 0.9095 GB, free: 5.984 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001002/0.5942, allocations: 278.8 kB / 0.9098 GB, free: 5.727 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01495/0.6091, allocations: 12.9 MB / 0.9224 GB, free: 8.098 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001263/0.6104, allocations: 1.337 MB / 0.9237 GB, free: 6.723 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0007675/0.6111, allocations: 445.4 kB / 0.9241 GB, free: 6.285 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006406/0.6118, allocations: 0.7179 MB / 0.9248 GB, free: 5.566 MB / 0.698 GB Notification: Performance of SimCode: time 1.442e-06/0.6118, allocations: 7.938 kB / 0.9248 GB, free: 5.559 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04365/0.6554, allocations: 29.16 MB / 0.9533 GB, free: 8.781 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.245/7.901, allocations: 2.031 kB / 0.9533 GB, free: 8.781 MB / 0.7292 GB " [Timeout remaining time 652] (rm -f IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; mkfifo IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe >> ../files/IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances.fmu > IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.882930498104542] Failed to read output from testmodel.py, exit status != 0: 7.992992883082479 8.004090996 7.473479261 Calling exit ...