Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr FluxTubesExtension_FluxTubesExtension.Examples.ToroidalCoreAirgap.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.001752/0.001752, allocations: 113.9 kB / 18.94 MB, free: 2.785 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.002062/0.002062, allocations: 191.9 kB / 22.23 MB, free: 5.223 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.57/1.57, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/FluxTubesExtension 1.2.0-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FluxTubesExtension 1.2.0-main/package.mo): time 0.01011/0.01011, allocations: 1.243 MB / 307.5 MB, free: 7.496 MB / 238.1 MB " [Timeout remaining time 180] Using package FluxTubesExtension with version 1.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/FluxTubesExtension 1.2.0-main/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: translateModel(FluxTubesExtension.Examples.ToroidalCoreAirgap,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="FluxTubesExtension_FluxTubesExtension.Examples.ToroidalCoreAirgap") translateModel(FluxTubesExtension.Examples.ToroidalCoreAirgap,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="FluxTubesExtension_FluxTubesExtension.Examples.ToroidalCoreAirgap") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001999/0.001999, allocations: 59.89 kB / 428.1 MB, free: 22.76 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.104/0.106, allocations: 52.47 MB / 480.5 MB, free: 2.203 MB / 334.1 MB Notification: Performance of NFInst.instantiate(FluxTubesExtension.Examples.ToroidalCoreAirgap): time 0.00483/0.1108, allocations: 3.011 MB / 483.5 MB, free: 15.18 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002607/0.1134, allocations: 1.421 MB / 485 MB, free: 13.75 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001545/0.1135, allocations: 7.938 kB / 485 MB, free: 13.74 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005669/0.1141, allocations: 159 kB / 485.1 MB, free: 13.59 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003099/0.1144, allocations: 111.1 kB / 485.2 MB, free: 13.48 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007409/0.1152, allocations: 298 kB / 485.5 MB, free: 13.19 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005036/0.1157, allocations: 430.3 kB / 485.9 MB, free: 12.77 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002371/0.1159, allocations: 99.69 kB / 486 MB, free: 12.66 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002931/0.1162, allocations: 179.3 kB / 486.2 MB, free: 12.49 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003041/0.1165, allocations: 195.1 kB / 486.4 MB, free: 12.3 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.223e-05/0.1166, allocations: 40 kB / 486.4 MB, free: 12.26 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004542/0.117, allocations: 243.6 kB / 486.7 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001699/0.1172, allocations: 95.61 kB / 486.8 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002254/0.1174, allocations: 191 kB / 487 MB, free: 11.74 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009604/0.1184, allocations: 0.5252 MB / 487.5 MB, free: 11.21 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.1184, allocations: 0 / 487.5 MB, free: 11.21 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.1184, allocations: 0 / 487.5 MB, free: 11.21 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.477e-05/0.1184, allocations: 0 / 487.5 MB, free: 11.21 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.001552/0.1199, allocations: 0.6373 MB / 488.1 MB, free: 10.54 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.545e-05/0.12, allocations: 12.03 kB / 488.1 MB, free: 10.53 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.433e-05/0.1201, allocations: 44.66 kB / 488.2 MB, free: 10.49 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000573/0.1206, allocations: 261.9 kB / 488.4 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001103/0.1207, allocations: 25.03 kB / 488.5 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.221e-05/0.1208, allocations: 32.38 kB / 488.5 MB, free: 10.15 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006644/0.1215, allocations: 310.3 kB / 488.8 MB, free: 9.844 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.256e-05/0.1215, allocations: 0 / 488.8 MB, free: 9.844 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.401e-05/0.1215, allocations: 19.94 kB / 488.8 MB, free: 9.824 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.587e-05/0.1215, allocations: 8 kB / 488.8 MB, free: 9.816 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006829/0.1222, allocations: 274.5 kB / 489.1 MB, free: 9.547 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001862/0.1241, allocations: 1.095 MB / 490.2 MB, free: 8.363 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004568/0.1245, allocations: 195 kB / 490.4 MB, free: 8.168 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002088/0.1247, allocations: 76.81 kB / 490.4 MB, free: 8.09 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.587e-05/0.1248, allocations: 19.92 kB / 490.5 MB, free: 8.07 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.493e-05/0.1248, allocations: 34.56 kB / 490.5 MB, free: 8.027 MB / 350.1 MB Notification: Performance of pre-optimization done (n=20): time 1.232e-06/0.1248, allocations: 0 / 490.5 MB, free: 8.027 MB / 350.1 MB Notification: Performance of matching and sorting (n=27): time 0.003033/0.1279, allocations: 0.9051 MB / 491.4 MB, free: 7.109 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.064e-05/0.1279, allocations: 55.64 kB / 491.5 MB, free: 7.043 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003548/0.1283, allocations: 316.5 kB / 491.8 MB, free: 6.723 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.684e-05/0.1283, allocations: 29.7 kB / 491.8 MB, free: 6.688 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001778/0.1285, allocations: 244.1 kB / 492 MB, free: 6.445 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.546e-05/0.1286, allocations: 91.17 kB / 492.1 MB, free: 6.355 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001153/0.1287, allocations: 74.03 kB / 492.2 MB, free: 6.273 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001768/0.1288, allocations: 350.8 kB / 492.5 MB, free: 5.922 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003357/0.1292, allocations: 116.7 kB / 492.7 MB, free: 5.809 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004178/0.1296, allocations: 213.4 kB / 492.9 MB, free: 5.559 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000761/0.1304, allocations: 352.6 kB / 493.2 MB, free: 5.172 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.939e-06/0.1304, allocations: 4 kB / 493.2 MB, free: 5.168 MB / 350.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001538/0.1319, allocations: 0.6034 MB / 493.8 MB, free: 4.555 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.801e-05/0.1319, allocations: 8 kB / 493.8 MB, free: 4.547 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.047e-06/0.1319, allocations: 4 kB / 493.8 MB, free: 4.543 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002167/0.1341, allocations: 0.8197 MB / 494.6 MB, free: 3.723 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003493/0.1345, allocations: 79.88 kB / 494.7 MB, free: 3.645 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00114/0.1356, allocations: 1.179 MB / 495.9 MB, free: 2.414 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003144/0.1359, allocations: 24.11 kB / 495.9 MB, free: 2.391 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.132e-05/0.1359, allocations: 16 kB / 495.9 MB, free: 2.375 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (37): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,4), (1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0002789/0.1362, allocations: 161.7 kB / 496.1 MB, free: 2.207 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.416e-05/0.1363, allocations: 31.75 kB / 496.1 MB, free: 2.176 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001412/0.1377, allocations: 0.53 MB / 496.7 MB, free: 1.629 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.993e-06/0.1377, allocations: 4 kB / 496.7 MB, free: 1.625 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/0.1377, allocations: 0 / 496.7 MB, free: 1.625 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.097e-06/0.1377, allocations: 0 / 496.7 MB, free: 1.625 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004734/0.1382, allocations: 352.4 kB / 497 MB, free: 1.238 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.1382, allocations: 4 kB / 497 MB, free: 1.234 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002246/0.1384, allocations: 47.88 kB / 497.1 MB, free: 1.188 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001803/0.1402, allocations: 0.8079 MB / 497.9 MB, free: 392 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.156e-05/0.1403, allocations: 8 kB / 497.9 MB, free: 384 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009384/0.1412, allocations: 1.179 MB / 499.1 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1412, allocations: 0 / 499.1 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001286/0.1425, allocations: 0.5903 MB / 499.6 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.643e-05/0.1425, allocations: 31.75 kB / 499.7 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.254e-05/0.1426, allocations: 8 kB / 499.7 MB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002083/0.1428, allocations: 19.81 kB / 499.7 MB, free: 14.47 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.773e-05/0.1429, allocations: 19.89 kB / 499.7 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.847e-05/0.1429, allocations: 12 kB / 499.7 MB, free: 14.44 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002531/0.1431, allocations: 219.1 kB / 499.9 MB, free: 14.23 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1431, allocations: 0 / 499.9 MB, free: 14.23 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004438/0.1436, allocations: 107.9 kB / 0.4883 GB, free: 14.12 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (19): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,4), (1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000238/0.1438, allocations: 139 kB / 0.4885 GB, free: 13.98 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008918/0.1447, allocations: 307.6 kB / 0.4888 GB, free: 13.68 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.1447, allocations: 0 / 0.4888 GB, free: 13.68 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004553/0.1452, allocations: 168.6 kB / 0.4889 GB, free: 13.51 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004044/0.1456, allocations: 49.06 kB / 0.489 GB, free: 13.46 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001217/0.1468, allocations: 0.6288 MB / 0.4896 GB, free: 12.81 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004724/0.1473, allocations: 0.7989 MB / 0.4904 GB, free: 11.98 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001358/0.1474, allocations: 34.91 kB / 0.4904 GB, free: 11.95 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.643e-05/0.1475, allocations: 23.44 kB / 0.4904 GB, free: 11.93 MB / 366.1 MB Notification: Performance of SimCode: time 5.72e-07/0.1475, allocations: 0 / 0.4904 GB, free: 11.93 MB / 366.1 MB Notification: Performance of Templates: time 0.009721/0.1572, allocations: 4.199 MB / 0.4945 GB, free: 7.738 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f FluxTubesExtension_FluxTubesExtension.Examples.ToroidalCoreAirgap.makefile [Timeout 660] (rm -f FluxTubesExtension_FluxTubesExtension.Examples.ToroidalCoreAirgap.pipe ; mkfifo FluxTubesExtension_FluxTubesExtension.Examples.ToroidalCoreAirgap.pipe ; head -c 1048576 < FluxTubesExtension_FluxTubesExtension.Examples.ToroidalCoreAirgap.pipe >> ../files/FluxTubesExtension_FluxTubesExtension.Examples.ToroidalCoreAirgap.sim & ./FluxTubesExtension_FluxTubesExtension.Examples.ToroidalCoreAirgap -abortSlowSimulation -alarm=480 -lv LOG_STATS > FluxTubesExtension_FluxTubesExtension.Examples.ToroidalCoreAirgap.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.8724039709195495] Failed to read output from testmodel.py, exit status != 0: 0.16495269257575274 0.18046598700000002 0.059006361 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f95089c17b0>