Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.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.00138/0.00138, allocations: 107.9 kB / 16.4 MB, free: 6.492 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.00145/0.00145, allocations: 191.7 kB / 19.36 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.453/1.453, allocations: 222.9 MB / 245.1 MB, free: 15.01 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.077/1.077, allocations: 173.4 MB / 470.7 MB, free: 13.6 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_N,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001989/0.001989, allocations: 72.39 kB / 0.6478 GB, free: 11.72 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1889/0.1909, allocations: 89.53 MB / 0.7353 GB, free: 2.211 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.3955/0.5864, allocations: 33.31 MB / 0.7678 GB, free: 6.16 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02241/0.6089, allocations: 14.82 MB / 0.7823 GB, free: 40 kB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00517/0.6141, allocations: 160.9 kB / 0.7824 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.01048/0.6246, allocations: 3.648 MB / 0.786 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.01011/0.6348, allocations: 2.893 MB / 0.7888 GB, free: 12.4 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.008143/0.6429, allocations: 2.319 MB / 0.7911 GB, free: 11.12 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.01548/0.6584, allocations: 8.818 MB / 0.7997 GB, free: 7.164 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02112/0.6796, allocations: 9.566 MB / 0.809 GB, free: 2.723 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008408/0.688, allocations: 3.963 MB / 0.8129 GB, free: 0.5195 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008154/0.6962, allocations: 4.042 MB / 0.8169 GB, free: 14.02 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.002705/0.699, allocations: 0.7186 MB / 0.8176 GB, free: 14.02 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006027/0.705, allocations: 1.718 MB / 0.8192 GB, free: 13.47 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.004678/0.7097, allocations: 2.821 MB / 0.822 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.00741/0.7171, allocations: 3.388 MB / 0.8253 GB, free: 7.762 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.01692/0.7341, allocations: 11.23 MB / 0.8363 GB, free: 12.5 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 9.939e-06/0.7342, allocations: 0 / 0.8363 GB, free: 12.5 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.753e-06/0.7342, allocations: 0 / 0.8363 GB, free: 12.5 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 0.000389/0.7346, allocations: 0 / 0.8363 GB, free: 12.5 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1338 * Number of variables: 1338 Notification: Performance of Generate backend data structure: time 0.01706/0.7516, allocations: 6.136 MB / 0.8423 GB, free: 6.273 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 5.421e-05/0.7517, allocations: 12.03 kB / 0.8423 GB, free: 6.262 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002183/0.7539, allocations: 0.7271 MB / 0.843 GB, free: 5.523 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007835/0.7617, allocations: 1.164 MB / 0.8441 GB, free: 4.355 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007744/0.7695, allocations: 3.545 MB / 0.8476 GB, free: 0.7344 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003329/0.7699, allocations: 370.4 kB / 0.8479 GB, free: 380 kB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001412/0.7713, allocations: 495.9 kB / 0.8484 GB, free: 15.89 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01584/0.7872, allocations: 8.013 MB / 0.8562 GB, free: 7.59 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001408/0.7873, allocations: 19.84 kB / 0.8562 GB, free: 7.57 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006433/0.788, allocations: 216 kB / 0.8565 GB, free: 7.359 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001124/0.7891, allocations: 445.5 kB / 0.8569 GB, free: 6.922 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01241/0.8015, allocations: 6.081 MB / 0.8628 GB, free: 0.8281 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04609/0.8477, allocations: 34.94 MB / 0.8969 GB, free: 10.71 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003283/0.851, allocations: 2.031 MB / 0.8989 GB, free: 8.672 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002981/0.854, allocations: 1.877 MB / 0.9008 GB, free: 6.797 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001512/0.8542, allocations: 21.98 kB / 0.9008 GB, free: 6.773 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.339e-05/0.8543, allocations: 64.48 kB / 0.9008 GB, free: 6.703 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=171): time 3.506e-06/0.8543, allocations: 0 / 0.9008 GB, free: 6.703 MB / 0.6856 GB Notification: Performance of matching and sorting (n=276): time 0.1651/1.019, allocations: 38.96 MB / 0.9389 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.583e-05/1.02, allocations: 85.58 kB / 0.939 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004151/1.024, allocations: 2.282 MB / 0.9412 GB, free: 13.25 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.000466/1.024, allocations: 77.64 kB / 0.9413 GB, free: 13.16 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.002138/1.026, allocations: 2.338 MB / 0.9436 GB, free: 10.81 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.001336/1.028, allocations: 0.9799 MB / 0.9445 GB, free: 9.82 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00162/1.029, allocations: 0.5025 MB / 0.945 GB, free: 9.309 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001456/1.03, allocations: 313 kB / 0.9453 GB, free: 9 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003517/1.033, allocations: 1.973 MB / 0.9472 GB, free: 7.023 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004297/1.037, allocations: 2.599 MB / 0.9498 GB, free: 4.184 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00825/1.046, allocations: 4.933 MB / 0.9546 GB, free: 14.98 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.009e-05/1.046, allocations: 4 kB / 0.9546 GB, free: 14.97 MB / 0.7481 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.01798/1.064, allocations: 7.767 MB / 0.9622 GB, free: 7.137 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 5.657e-05/1.064, allocations: 16.22 kB / 0.9622 GB, free: 7.121 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.979e-05/1.064, allocations: 16 kB / 0.9622 GB, free: 7.105 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01144/1.075, allocations: 3.217 MB / 0.9653 GB, free: 3.875 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002145/1.078, allocations: 407.2 kB / 0.9657 GB, free: 3.477 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05758/1.135, allocations: 33.9 MB / 0.9988 GB, free: 0.7227 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003393/1.139, allocations: 163.8 kB / 0.999 GB, free: 0.5625 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006921/1.139, allocations: 112 kB / 0.9991 GB, free: 464 kB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (202): * Single equations (assignments): 196 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(10,28,71.0%), (10,28,65.0%), (6,24,77.8%), (6,24,77.8%), (5,17,84.0%), (5,17,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004674/1.144, allocations: 1.8 MB / 1.001 GB, free: 14.65 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001181/1.145, allocations: 353.8 kB / 1.001 GB, free: 14.3 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01863/1.164, allocations: 7.357 MB / 1.008 GB, free: 6.863 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.892e-05/1.164, allocations: 31.94 kB / 1.008 GB, free: 6.832 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001014/1.164, allocations: 31.94 kB / 1.008 GB, free: 6.801 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.316e-05/1.164, allocations: 11.95 kB / 1.008 GB, free: 6.789 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02762/1.192, allocations: 12.93 MB / 1.021 GB, free: 9.691 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.564e-05/1.192, allocations: 8 kB / 1.021 GB, free: 9.684 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001105/1.193, allocations: 231.6 kB / 1.021 GB, free: 9.457 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009331/1.202, allocations: 2.858 MB / 1.024 GB, free: 6.582 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003933/1.203, allocations: 56 kB / 1.024 GB, free: 6.527 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05226/1.255, allocations: 32.69 MB / 1.056 GB, free: 4.984 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.738e-06/1.255, allocations: 8 kB / 1.056 GB, free: 4.977 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01558/1.271, allocations: 6.904 MB / 1.063 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002192/1.273, allocations: 0.7917 MB / 1.064 GB, free: 13.04 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009786/1.274, allocations: 55.98 kB / 1.064 GB, free: 12.99 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00239/1.276, allocations: 167.8 kB / 1.064 GB, free: 12.82 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001012/1.277, allocations: 261.3 kB / 1.064 GB, free: 12.57 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000273/1.278, allocations: 72 kB / 1.064 GB, free: 12.5 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.002996/1.281, allocations: 1.525 MB / 1.066 GB, free: 10.97 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.51e-07/1.281, allocations: 4 kB / 1.066 GB, free: 10.96 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.005013/1.286, allocations: 1.367 MB / 1.067 GB, free: 9.598 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (105): * Single equations (assignments): 99 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(5,17,84.0%), (6,24,77.8%), (10,28,65.0%), (5,17,92.0%), (6,24,77.8%), (10,28,65.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01577/1.301, allocations: 7.529 MB / 1.074 GB, free: 1.848 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.3515/1.653, allocations: 6.943 MB / 1.081 GB, free: 275 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.3e-05/1.653, allocations: 1.25 kB / 1.081 GB, free: 275 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.007305/1.66, allocations: 4.422 MB / 1.085 GB, free: 274.1 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004715/1.665, allocations: 1.119 MB / 1.087 GB, free: 274 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07093/1.736, allocations: 39.18 MB / 1.125 GB, free: 262.5 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008098/1.744, allocations: 3.642 MB / 1.128 GB, free: 261.2 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.002974/1.747, allocations: 0.5606 MB / 1.129 GB, free: 261.1 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002765/1.75, allocations: 1.972 MB / 1.131 GB, free: 259.4 MB / 0.8575 GB Notification: Performance of SimCode: time 1.393e-06/1.75, allocations: 0 / 1.131 GB, free: 259.4 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1598/1.91, allocations: 111.6 MB / 1.24 GB, free: 156.7 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.14/19.05, allocations: 9.453 kB / 1.24 GB, free: 156.7 MB / 0.8575 GB " [Timeout remaining time 641] (rm -f IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N.fmu > IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 23.263505277223885] Failed to read output from testmodel.py, exit status != 0: 19.19137987215072 19.212543104 18.474175938 Calling exit ...