Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIMDML_main_OpenIMDML.Examples.MultiDomainExamples.MultiDomainSinglePhaseInductionMotors.MultiDomainDPIM.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4433/0.4433, allocations: 78.55 MB / 94.84 MB, free: 3.875 MB / 78.07 MB " [Timeout remaining time 179] 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.001306/0.001306, allocations: 112.8 kB / 116.4 MB, free: 7.781 MB / 94.07 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.001513/0.001512, allocations: 195 kB / 138.1 MB, free: 2.113 MB / 110.1 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.46/1.46, allocations: 222.9 MB / 382.5 MB, free: 15.26 MB / 286.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIMDML 1.0.0-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIMDML 1.0.0-main/package.mo): time 0.7456/0.7456, allocations: 62.21 MB / 0.5036 GB, free: 3.363 MB / 382.1 MB " [Timeout remaining time 179] Using package OpenIMDML with version 1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIMDML 1.0.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) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo) Running command: "" <> buildModelFMU(OpenIMDML.Examples.MultiDomainExamples.MultiDomainSinglePhaseInductionMotors.MultiDomainDPIM,fileNamePrefix="OpenIMDML_main_OpenIMDML_Examples_MultiDomainExamples_MultiDomainSinglePhaseInductionMotors_MultiDomainDPIM",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIMDML.Examples.MultiDomainExamples.MultiDomainSinglePhaseInductionMotors.MultiDomainDPIM,fileNamePrefix="OpenIMDML_main_OpenIMDML_Examples_MultiDomainExamples_MultiDomainSinglePhaseInductionMotors_MultiDomainDPIM",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00376/0.00376, allocations: 135.8 kB / 0.6541 GB, free: 6.793 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1468/0.1505, allocations: 69.5 MB / 0.7219 GB, free: 1.23 MB / 0.4982 GB Notification: Performance of NFInst.instantiate(OpenIMDML.Examples.MultiDomainExamples.MultiDomainSinglePhaseInductionMotors.MultiDomainDPIM): time 0.006488/0.1571, allocations: 4.681 MB / 0.7265 GB, free: 12.53 MB / 0.5138 GB Notification: Performance of NFInst.instExpressions: time 0.003084/0.1602, allocations: 1.395 MB / 0.7279 GB, free: 11.13 MB / 0.5138 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004941/0.1607, allocations: 11.94 kB / 0.7279 GB, free: 11.12 MB / 0.5138 GB Notification: Performance of NFTyping.typeComponents: time 0.0005115/0.1612, allocations: 134.8 kB / 0.728 GB, free: 10.98 MB / 0.5138 GB Notification: Performance of NFTyping.typeBindings: time 0.0007003/0.1619, allocations: 253.9 kB / 0.7283 GB, free: 10.73 MB / 0.5138 GB Notification: Performance of NFTyping.typeClassSections: time 0.001344/0.1633, allocations: 0.6016 MB / 0.7289 GB, free: 10.13 MB / 0.5138 GB Notification: Performance of NFFlatten.flatten: time 0.00109/0.1644, allocations: 1.045 MB / 0.7299 GB, free: 9.082 MB / 0.5138 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003058/0.1648, allocations: 177.3 kB / 0.73 GB, free: 8.895 MB / 0.5138 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005741/0.1653, allocations: 434.5 kB / 0.7305 GB, free: 8.469 MB / 0.5138 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007811/0.1661, allocations: 0.5369 MB / 0.731 GB, free: 7.93 MB / 0.5138 GB Notification: Performance of NFPackage.collectConstants: time 0.0001526/0.1663, allocations: 92 kB / 0.7311 GB, free: 7.84 MB / 0.5138 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003196/0.1666, allocations: 152 kB / 0.7312 GB, free: 7.691 MB / 0.5138 GB Notification: Performance of NFScalarize.scalarize: time 0.000212/0.1668, allocations: 215.2 kB / 0.7314 GB, free: 7.48 MB / 0.5138 GB Notification: Performance of NFVerifyModel.verify: time 0.000423/0.1673, allocations: 433.8 kB / 0.7318 GB, free: 7.055 MB / 0.5138 GB Notification: Performance of NFConvertDAE.convert: time 0.001204/0.1685, allocations: 1.023 MB / 0.7328 GB, free: 6.027 MB / 0.5138 GB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.1685, allocations: 0 / 0.7328 GB, free: 6.027 MB / 0.5138 GB Notification: Performance of FrontEnd: time 1.714e-06/0.1685, allocations: 0 / 0.7328 GB, free: 6.027 MB / 0.5138 GB Notification: Performance of Transformations before backend: time 1.061e-05/0.1685, allocations: 4 kB / 0.7328 GB, free: 6.023 MB / 0.5138 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 143 * Number of variables: 143 Notification: Performance of Generate backend data structure: time 0.004529/0.1731, allocations: 1.433 MB / 0.7342 GB, free: 4.535 MB / 0.5138 GB Notification: Performance of prepare preOptimizeDAE: time 4.261e-05/0.1731, allocations: 8.031 kB / 0.7342 GB, free: 4.527 MB / 0.5138 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001383/0.1733, allocations: 102.7 kB / 0.7343 GB, free: 4.418 MB / 0.5138 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001104/0.1744, allocations: 200.3 kB / 0.7345 GB, free: 4.223 MB / 0.5138 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009653/0.1753, allocations: 0.5381 MB / 0.7351 GB, free: 3.641 MB / 0.5138 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001177/0.1755, allocations: 75.02 kB / 0.7351 GB, free: 3.562 MB / 0.5138 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001192/0.1756, allocations: 60 kB / 0.7352 GB, free: 3.504 MB / 0.5138 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001567/0.1772, allocations: 0.7644 MB / 0.7359 GB, free: 2.711 MB / 0.5138 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.817e-05/0.1772, allocations: 0 / 0.7359 GB, free: 2.711 MB / 0.5138 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.661e-05/0.1773, allocations: 24 kB / 0.736 GB, free: 2.688 MB / 0.5138 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.148e-05/0.1773, allocations: 16 kB / 0.736 GB, free: 2.672 MB / 0.5138 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001883/0.1792, allocations: 0.8365 MB / 0.7368 GB, free: 1.836 MB / 0.5138 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00518/0.1844, allocations: 2.852 MB / 0.7396 GB, free: 14.86 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00213/0.1866, allocations: 1.12 MB / 0.7407 GB, free: 13.65 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008799/0.1875, allocations: 457.6 kB / 0.7411 GB, free: 13.2 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 9.554e-05/0.1876, allocations: 12.64 kB / 0.7411 GB, free: 13.19 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.291e-05/0.1876, allocations: 39.22 kB / 0.7412 GB, free: 13.14 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=80): time 4.098e-06/0.1876, allocations: 0 / 0.7412 GB, free: 13.14 MB / 0.5294 GB Notification: Performance of matching and sorting (n=81): time 0.0127/0.2003, allocations: 3.9 MB / 0.745 GB, free: 9.16 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.679e-05/0.2005, allocations: 93.69 kB / 0.745 GB, free: 9.051 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008074/0.2013, allocations: 0.5301 MB / 0.7456 GB, free: 8.516 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 9.767e-05/0.2014, allocations: 41.7 kB / 0.7456 GB, free: 8.469 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002683/0.2017, allocations: 313.1 kB / 0.7459 GB, free: 8.156 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002962/0.202, allocations: 293.5 kB / 0.7462 GB, free: 7.867 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002641/0.2023, allocations: 126.6 kB / 0.7463 GB, free: 7.738 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001989/0.2025, allocations: 378.8 kB / 0.7467 GB, free: 7.359 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008239/0.2033, allocations: 357.8 kB / 0.747 GB, free: 7.008 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009007/0.2042, allocations: 0.4888 MB / 0.7475 GB, free: 6.473 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001782/0.206, allocations: 0.8945 MB / 0.7484 GB, free: 5.531 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.781e-06/0.206, allocations: 4 kB / 0.7484 GB, free: 5.527 MB / 0.5294 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.005291/0.2113, allocations: 1.716 MB / 0.75 GB, free: 3.793 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 3.164e-05/0.2114, allocations: 6.5 kB / 0.75 GB, free: 3.789 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.297e-05/0.2114, allocations: 12.25 kB / 0.7501 GB, free: 3.777 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002434/0.2138, allocations: 0.5819 MB / 0.7506 GB, free: 3.191 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008184/0.2147, allocations: 127.8 kB / 0.7507 GB, free: 3.066 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01012/0.2248, allocations: 5.775 MB / 0.7564 GB, free: 13 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009566/0.2258, allocations: 51.91 kB / 0.7564 GB, free: 12.95 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.96e-05/0.2259, allocations: 24 kB / 0.7565 GB, free: 12.93 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (74): * Single equations (assignments): 72 * 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): 2 systems {(1,4,100.0%), (4,18,87.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003386/0.2262, allocations: 201.7 kB / 0.7567 GB, free: 12.72 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001603/0.2264, allocations: 71.53 kB / 0.7567 GB, free: 12.65 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005046/0.2314, allocations: 1.696 MB / 0.7584 GB, free: 10.94 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.156e-05/0.2315, allocations: 8 kB / 0.7584 GB, free: 10.93 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/0.2315, allocations: 12.19 kB / 0.7584 GB, free: 10.92 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.182e-05/0.2315, allocations: 7.984 kB / 0.7584 GB, free: 10.91 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006398/0.2379, allocations: 2.667 MB / 0.761 GB, free: 8.152 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.526e-06/0.2379, allocations: 0 / 0.761 GB, free: 8.152 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007759/0.2387, allocations: 115.8 kB / 0.7611 GB, free: 8.039 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002152/0.2409, allocations: 0.548 MB / 0.7617 GB, free: 7.484 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.267e-05/0.241, allocations: 19.94 kB / 0.7617 GB, free: 7.465 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009022/0.25, allocations: 5.363 MB / 0.7669 GB, free: 1.824 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.2501, allocations: 0 / 0.7669 GB, free: 1.824 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.5225/0.7726, allocations: 2.322 MB / 0.7692 GB, free: 46.74 MB / 0.5452 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002859/0.7729, allocations: 156.6 kB / 0.7693 GB, free: 46.64 MB / 0.5452 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000134/0.7731, allocations: 17.5 kB / 0.7693 GB, free: 46.64 MB / 0.5452 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000755/0.7738, allocations: 39.23 kB / 0.7694 GB, free: 46.64 MB / 0.5452 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002836/0.7741, allocations: 88.77 kB / 0.7695 GB, free: 46.64 MB / 0.5452 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.144e-05/0.7742, allocations: 20.16 kB / 0.7695 GB, free: 46.64 MB / 0.5452 GB Notification: Performance of sorting global known variables: time 0.000409/0.7746, allocations: 381.5 kB / 0.7698 GB, free: 46.56 MB / 0.5452 GB Notification: Performance of sort global known variables: time 9.82e-07/0.7746, allocations: 0 / 0.7698 GB, free: 46.56 MB / 0.5452 GB Notification: Performance of remove unused functions: time 0.0008101/0.7754, allocations: 248.7 kB / 0.7701 GB, free: 46.56 MB / 0.5452 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 5 (Inf.delta,Inf.eq,DPIM.Rotor_Inertia.w,DPIM.speed.phi,Inf.omega) * 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 (58): * Single equations (assignments): 56 * 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): 2 systems {(1,4,100.0%), (4,18,87.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005401/0.7808, allocations: 2.887 MB / 0.7729 GB, free: 45.8 MB / 0.5452 GB Notification: Performance of simCode: created initialization part: time 0.002525/0.7834, allocations: 1.309 MB / 0.7742 GB, free: 45.54 MB / 0.5452 GB Notification: Performance of simCode: created event and clocks part: time 4.498e-06/0.7834, allocations: 0 / 0.7742 GB, free: 45.54 MB / 0.5452 GB Notification: Performance of simCode: created simulation system equations: time 0.001594/0.785, allocations: 0.8746 MB / 0.775 GB, free: 45.29 MB / 0.5452 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007817/0.7858, allocations: 84.81 kB / 0.7751 GB, free: 45.29 MB / 0.5452 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01755/0.8034, allocations: 8.111 MB / 0.783 GB, free: 43.12 MB / 0.5452 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005584/0.804, allocations: 0.9235 MB / 0.7839 GB, free: 42.41 MB / 0.5452 GB Notification: Performance of simCode: alias equations: time 0.0005026/0.8045, allocations: 78.14 kB / 0.784 GB, free: 42.38 MB / 0.5452 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004348/0.805, allocations: 254.5 kB / 0.7843 GB, free: 42.38 MB / 0.5452 GB Notification: Performance of SimCode: time 1.192e-06/0.805, allocations: 0 / 0.7843 GB, free: 42.38 MB / 0.5452 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05727/0.8622, allocations: 18.16 MB / 0.802 GB, free: 37.09 MB / 0.5452 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.95/14.81, allocations: 4.312 kB / 0.802 GB, free: 37.09 MB / 0.5452 GB " [Timeout remaining time 645] (rm -f OpenIMDML_main_OpenIMDML.Examples.MultiDomainExamples.MultiDomainSinglePhaseInductionMotors.MultiDomainDPIM.pipe ; mkfifo OpenIMDML_main_OpenIMDML.Examples.MultiDomainExamples.MultiDomainSinglePhaseInductionMotors.MultiDomainDPIM.pipe ; head -c 1048576 < OpenIMDML_main_OpenIMDML.Examples.MultiDomainExamples.MultiDomainSinglePhaseInductionMotors.MultiDomainDPIM.pipe >> ../files/OpenIMDML_main_OpenIMDML.Examples.MultiDomainExamples.MultiDomainSinglePhaseInductionMotors.MultiDomainDPIM.sim & python3 -m fmpy simulate --output-file OpenIMDML_main_OpenIMDML.Examples.MultiDomainExamples.MultiDomainSinglePhaseInductionMotors.MultiDomainDPIM_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 OpenIMDML_main_OpenIMDML_Examples_MultiDomainExamples_MultiDomainSinglePhaseInductionMotors_MultiDomainDPIM.fmu > OpenIMDML_main_OpenIMDML.Examples.MultiDomainExamples.MultiDomainSinglePhaseInductionMotors.MultiDomainDPIM.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 19.20320004306268] Failed to read output from testmodel.py, exit status != 0: 14.901647490914911 14.919036669 14.747271183 Calling exit ...