Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr FluxTubesExtension_FluxTubesExtension.Examples.SaturatedInductor.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.001037/0.001037, allocations: 80.44 kB / 19.17 MB, free: 0.7383 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.0009047/0.0009047, allocations: 169.9 kB / 22.46 MB, free: 2.102 MB / 18.57 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.9241/0.9241, allocations: 177.1 MB / 202.8 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/FluxTubesExtension main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FluxTubesExtension main/package.mo): time 0.0065/0.0065, allocations: 0.9562 MB / 260.1 MB, free: 12.39 MB / 250.7 MB " [Timeout remaining time 180] Using package FluxTubesExtension with version 1.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/FluxTubesExtension main/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(FluxTubesExtension.Examples.SaturatedInductor,fileNamePrefix="FluxTubesExtension_FluxTubesExtension_Examples_SaturatedInductor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(FluxTubesExtension.Examples.SaturatedInductor,fileNamePrefix="FluxTubesExtension_FluxTubesExtension_Examples_SaturatedInductor",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.704e-06/1.704e-06, allocations: 0 / 382.5 MB, free: 14.34 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.329e-05/2.5e-05, allocations: 5.234 kB / 382.5 MB, free: 14.34 MB / 314.7 MB Notification: Performance of NFInst.instantiate(FluxTubesExtension.Examples.SaturatedInductor): time 0.00333/0.003355, allocations: 2.674 MB / 385.2 MB, free: 11.64 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002272/0.005627, allocations: 1.569 MB / 386.8 MB, free: 10.06 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001852/0.005812, allocations: 7.938 kB / 386.8 MB, free: 10.05 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007141/0.006526, allocations: 182.9 kB / 387 MB, free: 9.875 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002671/0.006793, allocations: 107 kB / 387.1 MB, free: 9.77 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007257/0.007519, allocations: 315 kB / 387.4 MB, free: 9.461 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005012/0.00802, allocations: 402.3 kB / 387.8 MB, free: 9.066 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001784/0.008198, allocations: 74.05 kB / 387.8 MB, free: 8.996 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002997/0.008498, allocations: 215.4 kB / 388 MB, free: 8.785 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001468/0.008645, allocations: 127.6 kB / 388.2 MB, free: 8.66 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 3.091e-05/0.008676, allocations: 32 kB / 388.2 MB, free: 8.629 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002217/0.008898, allocations: 175.6 kB / 388.4 MB, free: 8.457 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 7.302e-05/0.008971, allocations: 79.73 kB / 388.4 MB, free: 8.379 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 7.938e-05/0.00905, allocations: 111.7 kB / 388.6 MB, free: 8.27 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004712/0.009521, allocations: 470.5 kB / 389 MB, free: 7.809 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.294e-06/0.009523, allocations: 0 / 389 MB, free: 7.809 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.009525, allocations: 7.938 kB / 389 MB, free: 7.801 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.324e-06/0.009532, allocations: 0 / 389 MB, free: 7.801 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 69 * Number of variables: 69 Notification: Performance of Generate backend data structure: time 0.0009254/0.01046, allocations: 0.5858 MB / 389.6 MB, free: 7.188 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.94e-05/0.0105, allocations: 8.031 kB / 389.6 MB, free: 7.18 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.761e-05/0.01056, allocations: 66.72 kB / 389.7 MB, free: 7.105 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000161/0.01073, allocations: 48.66 kB / 389.7 MB, free: 7.059 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002908/0.01102, allocations: 228.6 kB / 390 MB, free: 6.812 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.023e-05/0.01104, allocations: 21.03 kB / 390 MB, free: 6.793 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.229e-05/0.01107, allocations: 32.31 kB / 390 MB, free: 6.762 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003462/0.01141, allocations: 304.3 kB / 390.3 MB, free: 6.449 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.736e-06/0.01142, allocations: 192 / 390.3 MB, free: 6.449 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.867e-05/0.01144, allocations: 12.12 kB / 390.3 MB, free: 6.438 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.033e-06/0.01145, allocations: 8 kB / 390.3 MB, free: 6.43 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002898/0.01174, allocations: 246.5 kB / 390.6 MB, free: 6.191 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001088/0.01283, allocations: 0.9297 MB / 391.5 MB, free: 5.191 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003161/0.01314, allocations: 234.3 kB / 391.7 MB, free: 4.953 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001826/0.01333, allocations: 112.8 kB / 391.8 MB, free: 4.84 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.16e-05/0.01338, allocations: 15.94 kB / 391.8 MB, free: 4.824 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.227e-05/0.01341, allocations: 42.56 kB / 391.9 MB, free: 4.773 MB / 314.7 MB Notification: Performance of pre-optimization done (n=23): time 1.343e-06/0.01341, allocations: 4 kB / 391.9 MB, free: 4.77 MB / 314.7 MB Notification: Performance of matching and sorting (n=34): time 0.002531/0.01594, allocations: 1.465 MB / 393.4 MB, free: 3.27 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.143e-05/0.01597, allocations: 55.41 kB / 393.4 MB, free: 3.203 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002064/0.01618, allocations: 292.1 kB / 393.7 MB, free: 2.906 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.797e-05/0.0162, allocations: 29.7 kB / 393.7 MB, free: 2.871 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.559e-05/0.01629, allocations: 196.5 kB / 393.9 MB, free: 2.676 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.98e-05/0.01635, allocations: 126.9 kB / 394 MB, free: 2.551 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.846e-05/0.01642, allocations: 65.66 kB / 394.1 MB, free: 2.48 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.939e-05/0.01652, allocations: 346.8 kB / 394.4 MB, free: 2.133 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001457/0.01667, allocations: 115.9 kB / 394.6 MB, free: 2.02 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001765/0.01684, allocations: 172.5 kB / 394.7 MB, free: 1.832 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003136/0.01716, allocations: 290.1 kB / 395 MB, free: 1.535 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.01716, allocations: 7.984 kB / 395 MB, free: 1.527 MB / 314.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0009098/0.01807, allocations: 0.6291 MB / 395.6 MB, free: 0.8867 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/0.01809, allocations: 8 kB / 395.7 MB, free: 0.8789 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.01809, allocations: 3.984 kB / 395.7 MB, free: 0.875 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001263/0.01936, allocations: 0.5324 MB / 396.2 MB, free: 344 kB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001453/0.0195, allocations: 51.97 kB / 396.2 MB, free: 292 kB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006053/0.02011, allocations: 1.288 MB / 397.5 MB, free: 14.95 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.101e-05/0.0202, allocations: 15.92 kB / 397.5 MB, free: 14.93 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.456e-05/0.02021, allocations: 12 kB / 397.6 MB, free: 14.92 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (30): * Single equations (assignments): 28 * 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,8), (1,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0001227/0.02034, allocations: 157.8 kB / 397.7 MB, free: 14.75 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.498e-05/0.02037, allocations: 39.8 kB / 397.7 MB, free: 14.71 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008251/0.0212, allocations: 0.5759 MB / 398.3 MB, free: 14.12 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.791e-06/0.0212, allocations: 4 kB / 398.3 MB, free: 14.12 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.668e-06/0.02121, allocations: 4 kB / 398.3 MB, free: 14.12 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.02121, allocations: 0 / 398.3 MB, free: 14.12 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001443/0.02266, allocations: 0.9924 MB / 399.3 MB, free: 13.06 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/0.02266, allocations: 4.062 kB / 399.3 MB, free: 13.06 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001645/0.02283, allocations: 43.91 kB / 399.4 MB, free: 13.02 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001675/0.0245, allocations: 0.5246 MB / 399.9 MB, free: 12.48 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.997e-05/0.02452, allocations: 8 kB / 399.9 MB, free: 12.48 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005905/0.02511, allocations: 1.28 MB / 401.2 MB, free: 11.14 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.734e-06/0.02511, allocations: 0 / 401.2 MB, free: 11.14 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009925/0.02611, allocations: 0.8078 MB / 402 MB, free: 10.31 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.596e-05/0.02614, allocations: 27.8 kB / 402 MB, free: 10.28 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.448e-05/0.02619, allocations: 8 kB / 402 MB, free: 10.27 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.172e-05/0.02628, allocations: 11.98 kB / 402 MB, free: 10.26 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.516e-05/0.02633, allocations: 39.81 kB / 402.1 MB, free: 10.22 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.272e-05/0.02635, allocations: 8 kB / 402.1 MB, free: 10.21 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001438/0.02649, allocations: 199.1 kB / 402.3 MB, free: 10.02 MB / 330.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.02649, allocations: 4 kB / 402.3 MB, free: 10.02 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000285/0.02677, allocations: 103.9 kB / 402.4 MB, free: 9.918 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (coil.i) * 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 (20): * Single equations (assignments): 18 * 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,8), (1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001286/0.02806, allocations: 1.384 MB / 403.8 MB, free: 8.496 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004698/0.02853, allocations: 303.8 kB / 404.1 MB, free: 8.199 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.02853, allocations: 3.938 kB / 404.1 MB, free: 8.195 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002093/0.02874, allocations: 188 kB / 404.3 MB, free: 8.012 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002663/0.02901, allocations: 36.64 kB / 404.3 MB, free: 7.973 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003878/0.03289, allocations: 3.713 MB / 408 MB, free: 4.129 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001244/0.03301, allocations: 185.5 kB / 408.2 MB, free: 3.93 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 7.337e-05/0.03308, allocations: 22.28 kB / 408.2 MB, free: 3.906 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001066/0.03319, allocations: 112.5 kB / 408.3 MB, free: 3.797 MB / 330.7 MB Notification: Performance of SimCode: time 5.92e-07/0.03319, allocations: 0 / 408.3 MB, free: 3.797 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1509/0.1841, allocations: 7.409 MB / 415.7 MB, free: 40.49 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.978/8.162, allocations: 7.531 kB / 415.7 MB, free: 40.49 MB / 330.7 MB " [Timeout remaining time 652] (rm -f FluxTubesExtension_FluxTubesExtension.Examples.SaturatedInductor.pipe ; mkfifo FluxTubesExtension_FluxTubesExtension.Examples.SaturatedInductor.pipe ; head -c 1048576 < FluxTubesExtension_FluxTubesExtension.Examples.SaturatedInductor.pipe >> ../files/FluxTubesExtension_FluxTubesExtension.Examples.SaturatedInductor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_FluxTubesExtension_FluxTubesExtension_Examples_SaturatedInductor_fmu --startTime=0 --stopTime=0.1 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 FluxTubesExtension_FluxTubesExtension_Examples_SaturatedInductor.fmu > FluxTubesExtension_FluxTubesExtension.Examples.SaturatedInductor.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.905470810830593] Failed to read output from testmodel.py, exit status != 0: 8.25384759530425 8.261657823 8.250456054 Calling exit ...