Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.SingularTransformer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001643/0.001643, allocations: 106.5 kB / 21.23 MB, free: 0.6562 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001797/0.001797, allocations: 213.2 kB / 24.54 MB, free: 4.016 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.473/1.473, allocations: 230.5 MB / 258.2 MB, free: 8.023 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2222/0.2222, allocations: 46.94 MB / 361.6 MB, free: 4.191 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Electrical.SingularTransformer,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Electrical_SingularTransformer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.SingularTransformer,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Electrical_SingularTransformer",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002297/0.002297, allocations: 75.88 kB / 0.497 GB, free: 7.797 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3463/0.3486, allocations: 66.08 MB / 0.5615 GB, free: 4.316 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.SingularTransformer): time 0.004043/0.3526, allocations: 2.599 MB / 0.564 GB, free: 1.703 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001218/0.3538, allocations: 0.6816 MB / 0.5647 GB, free: 1.016 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001102/0.354, allocations: 7.938 kB / 0.5647 GB, free: 1.008 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001398/0.3541, allocations: 39.64 kB / 0.5647 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001423/0.3542, allocations: 67.34 kB / 0.5648 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002733/0.3545, allocations: 79.84 kB / 0.5649 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003414/0.3549, allocations: 298.7 kB / 0.5652 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001719/0.355, allocations: 70.53 kB / 0.5652 GB, free: 468 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002227/0.3553, allocations: 127.6 kB / 0.5653 GB, free: 340 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001866/0.3554, allocations: 115.5 kB / 0.5655 GB, free: 224 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.801e-05/0.3555, allocations: 24 kB / 0.5655 GB, free: 200 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.814e-05/0.3555, allocations: 24 kB / 0.5655 GB, free: 176 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.777e-05/0.3556, allocations: 51.84 kB / 0.5656 GB, free: 124 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001401/0.3557, allocations: 127.5 kB / 0.5657 GB, free: 15.99 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003546/0.3561, allocations: 294.6 kB / 0.566 GB, free: 15.71 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.3561, allocations: 0 / 0.566 GB, free: 15.71 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.3561, allocations: 0 / 0.566 GB, free: 15.71 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.09e-05/0.3561, allocations: 0 / 0.566 GB, free: 15.71 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.0008082/0.3569, allocations: 481.5 kB / 0.5664 GB, free: 15.2 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.838e-05/0.3569, allocations: 8.031 kB / 0.5664 GB, free: 15.2 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.979e-05/0.357, allocations: 58.73 kB / 0.5665 GB, free: 15.13 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001563/0.3572, allocations: 36.78 kB / 0.5665 GB, free: 15.09 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003566/0.3575, allocations: 198.1 kB / 0.5667 GB, free: 14.88 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.415e-05/0.3575, allocations: 20.81 kB / 0.5667 GB, free: 14.86 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.161e-05/0.3576, allocations: 20.38 kB / 0.5667 GB, free: 14.84 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003703/0.358, allocations: 191.4 kB / 0.5669 GB, free: 14.64 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.358, allocations: 0 / 0.5669 GB, free: 14.64 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.178e-05/0.358, allocations: 11.94 kB / 0.5669 GB, free: 14.63 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.557e-05/0.358, allocations: 15.88 kB / 0.5669 GB, free: 14.62 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002911/0.3583, allocations: 137.7 kB / 0.5671 GB, free: 14.48 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001297/0.3596, allocations: 0.7602 MB / 0.5678 GB, free: 13.66 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002045/0.3598, allocations: 102.4 kB / 0.5679 GB, free: 13.55 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.761e-05/0.3599, allocations: 40.84 kB / 0.568 GB, free: 13.5 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.845e-05/0.3599, allocations: 0 / 0.568 GB, free: 13.5 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.205e-05/0.36, allocations: 42.55 kB / 0.568 GB, free: 13.45 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.052e-06/0.36, allocations: 0 / 0.568 GB, free: 13.45 MB / 414.1 MB Notification: Performance of matching and sorting (n=16): time 0.001749/0.3617, allocations: 0.6496 MB / 0.5686 GB, free: 12.77 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.911e-05/0.3618, allocations: 55.41 kB / 0.5687 GB, free: 12.7 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000228/0.362, allocations: 210.9 kB / 0.5689 GB, free: 12.48 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.577e-05/0.362, allocations: 29.7 kB / 0.5689 GB, free: 12.45 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001263/0.3621, allocations: 172.2 kB / 0.5691 GB, free: 12.28 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.037e-05/0.3622, allocations: 59.52 kB / 0.5691 GB, free: 12.22 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.586e-05/0.3623, allocations: 45.66 kB / 0.5692 GB, free: 12.17 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001614/0.3624, allocations: 338.8 kB / 0.5695 GB, free: 11.83 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001437/0.3626, allocations: 59.97 kB / 0.5696 GB, free: 11.77 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001712/0.3627, allocations: 105.9 kB / 0.5697 GB, free: 11.65 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003185/0.3631, allocations: 173 kB / 0.5698 GB, free: 11.46 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.3631, allocations: 0 / 0.5698 GB, free: 11.46 MB / 414.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005369/0.3636, allocations: 281.4 kB / 0.5701 GB, free: 11.18 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.737e-05/0.3636, allocations: 8 kB / 0.5701 GB, free: 11.17 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.3636, allocations: 0 / 0.5701 GB, free: 11.17 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002437/0.3639, allocations: 69.67 kB / 0.5702 GB, free: 11.09 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001817/0.364, allocations: 40 kB / 0.5702 GB, free: 11.05 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002612/0.3667, allocations: 2.814 MB / 0.573 GB, free: 8.004 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001341/0.3668, allocations: 12.67 kB / 0.573 GB, free: 7.992 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.382e-05/0.3668, allocations: 8 kB / 0.573 GB, free: 7.984 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (18): * Single equations (assignments): 16 * 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,5,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001452/0.3669, allocations: 137.8 kB / 0.5731 GB, free: 7.84 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.403e-05/0.367, allocations: 15.91 kB / 0.5731 GB, free: 7.824 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.168e-05/0.367, allocations: 25.8 kB / 0.5731 GB, free: 7.801 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.38e-06/0.367, allocations: 4 kB / 0.5731 GB, free: 7.797 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.3671, allocations: 4.062 kB / 0.5732 GB, free: 7.793 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.3671, allocations: 3.938 kB / 0.5732 GB, free: 7.789 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003184/0.3674, allocations: 260.5 kB / 0.5734 GB, free: 7.492 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.3674, allocations: 4.125 kB / 0.5734 GB, free: 7.488 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001077/0.3675, allocations: 23.92 kB / 0.5734 GB, free: 7.465 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001902/0.3677, allocations: 69.67 kB / 0.5735 GB, free: 7.391 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.08e-05/0.3677, allocations: 0 / 0.5735 GB, free: 7.391 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002464/0.3701, allocations: 2.799 MB / 0.5762 GB, free: 4.363 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.371e-06/0.3702, allocations: 4.062 kB / 0.5762 GB, free: 4.359 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000644/0.3708, allocations: 400.8 kB / 0.5766 GB, free: 3.945 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.174e-05/0.3708, allocations: 15.94 kB / 0.5766 GB, free: 3.93 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.311e-05/0.3709, allocations: 0 / 0.5766 GB, free: 3.93 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001755/0.371, allocations: 24.05 kB / 0.5767 GB, free: 3.906 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.798e-05/0.3711, allocations: 11.97 kB / 0.5767 GB, free: 3.895 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.559e-05/0.3711, allocations: 8 kB / 0.5767 GB, free: 3.887 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001495/0.3713, allocations: 152.6 kB / 0.5768 GB, free: 3.738 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3713, allocations: 0 / 0.5768 GB, free: 3.738 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003406/0.3716, allocations: 64 kB / 0.5769 GB, free: 3.676 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (basicTransformer.i1) * 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 (9): * Single equations (assignments): 7 * 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,5,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001021/0.3726, allocations: 0.9268 MB / 0.5778 GB, free: 2.715 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006958/0.3733, allocations: 400 kB / 0.5782 GB, free: 2.301 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.3733, allocations: 0 / 0.5782 GB, free: 2.301 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004541/0.3738, allocations: 333.5 kB / 0.5785 GB, free: 1.949 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003253/0.3741, allocations: 23.98 kB / 0.5785 GB, free: 1.926 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003419/0.3775, allocations: 2.494 MB / 0.5809 GB, free: 15.31 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003999/0.3779, allocations: 0.748 MB / 0.5817 GB, free: 14.54 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 8.169e-05/0.378, allocations: 17.94 kB / 0.5817 GB, free: 14.52 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001073/0.3781, allocations: 71.34 kB / 0.5818 GB, free: 14.45 MB / 430.1 MB Notification: Performance of SimCode: time 7.82e-07/0.3781, allocations: 0 / 0.5818 GB, free: 14.45 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04424/0.4223, allocations: 5.179 MB / 0.5868 GB, free: 9.371 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10/10.43, allocations: 3.812 kB / 0.5868 GB, free: 9.371 MB / 430.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.SingularTransformer.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.SingularTransformer.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.SingularTransformer.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.SingularTransformer.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.SingularTransformer_res.csv --start-time 0 --stop-time 1.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000219912 ModelicaTest_4_1_0-beta_om_ModelicaTest_Electrical_SingularTransformer.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.SingularTransformer.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.428611902985722] Failed to read output from testmodel.py, exit status != 0: ['time', 'basicTransformer.i2', 'basicTransformer.i1'] 10.508952143136412 10.524939749 10.165746806 Calling exit ...