Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.AD_DA_conversion.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.001799/0.001799, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.001466/0.001466, allocations: 212.6 kB / 24.54 MB, free: 4.02 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.407/1.407, allocations: 230.6 MB / 258.3 MB, free: 8.02 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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(Modelica.Electrical.Analog.Examples.AD_DA_conversion,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_AD_DA_conversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.AD_DA_conversion,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_AD_DA_conversion",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex 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. Warning: Requested package ModelicaServices 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.001893/0.001893, allocations: 64.78 kB / 378.6 MB, free: 3.125 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.275/0.2769, allocations: 53.38 MB / 431.9 MB, free: 6.859 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AD_DA_conversion): time 0.003811/0.2807, allocations: 2.403 MB / 434.3 MB, free: 4.449 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001378/0.2821, allocations: 0.7595 MB / 435.1 MB, free: 3.684 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001222/0.2822, allocations: 7.938 kB / 435.1 MB, free: 3.676 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001562/0.2824, allocations: 27.7 kB / 435.1 MB, free: 3.648 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001068/0.2825, allocations: 59.5 kB / 435.2 MB, free: 3.59 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003797/0.2829, allocations: 107.7 kB / 435.3 MB, free: 3.484 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003413/0.2832, allocations: 271 kB / 435.6 MB, free: 3.219 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002234/0.2834, allocations: 80.34 kB / 435.6 MB, free: 3.137 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002592/0.2837, allocations: 119.6 kB / 435.7 MB, free: 3.02 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001783/0.2839, allocations: 111.6 kB / 435.9 MB, free: 2.91 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.336e-05/0.2839, allocations: 27.94 kB / 435.9 MB, free: 2.883 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.069e-05/0.284, allocations: 24 kB / 435.9 MB, free: 2.859 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.167e-05/0.2841, allocations: 59.78 kB / 436 MB, free: 2.801 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001346/0.2842, allocations: 123.4 kB / 436.1 MB, free: 2.68 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003677/0.2846, allocations: 283.7 kB / 436.4 MB, free: 2.406 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.2846, allocations: 0 / 436.4 MB, free: 2.406 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.2846, allocations: 0 / 436.4 MB, free: 2.406 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.781e-06/0.2846, allocations: 0 / 436.4 MB, free: 2.406 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.001076/0.2857, allocations: 0.6039 MB / 437 MB, free: 1.754 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.84e-05/0.2857, allocations: 12.03 kB / 437 MB, free: 1.742 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.983e-05/0.2858, allocations: 58.72 kB / 437 MB, free: 1.676 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001691/0.2859, allocations: 36.75 kB / 437.1 MB, free: 1.641 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003272/0.2863, allocations: 186.1 kB / 437.3 MB, free: 1.434 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.546e-05/0.2864, allocations: 79.75 kB / 437.3 MB, free: 1.344 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.39e-05/0.2864, allocations: 16.38 kB / 437.3 MB, free: 1.328 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005811/0.287, allocations: 264.1 kB / 437.6 MB, free: 1.062 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.287, allocations: 0 / 437.6 MB, free: 1.062 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.687e-05/0.287, allocations: 8 kB / 437.6 MB, free: 1.055 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.704e-06/0.287, allocations: 4 kB / 437.6 MB, free: 1.051 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005048/0.2875, allocations: 204.2 kB / 437.8 MB, free: 0.8516 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001335/0.2889, allocations: 0.7243 MB / 438.5 MB, free: 72 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005958/0.2895, allocations: 259.2 kB / 438.8 MB, free: 15.8 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004003/0.2899, allocations: 185 kB / 439 MB, free: 15.62 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.068e-05/0.2899, allocations: 7.906 kB / 439 MB, free: 15.61 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005243/0.2904, allocations: 318.5 kB / 439.3 MB, free: 15.27 MB / 350.1 MB Notification: Performance of pre-optimization done (n=31): time 1.443e-06/0.2904, allocations: 0 / 439.3 MB, free: 15.27 MB / 350.1 MB Notification: Performance of matching and sorting (n=31): time 0.001196/0.2916, allocations: 0.5763 MB / 439.9 MB, free: 14.68 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001375/0.2917, allocations: 199.9 kB / 440.1 MB, free: 14.44 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001809/0.2919, allocations: 182.7 kB / 440.2 MB, free: 14.25 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.214e-05/0.292, allocations: 41.7 kB / 440.3 MB, free: 14.2 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.938e-05/0.2921, allocations: 140.8 kB / 440.4 MB, free: 14.06 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.687e-05/0.2921, allocations: 83.36 kB / 440.5 MB, free: 13.98 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.629e-05/0.2922, allocations: 70.02 kB / 440.6 MB, free: 13.91 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001506/0.2924, allocations: 334.8 kB / 440.9 MB, free: 13.57 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000248/0.2926, allocations: 116.6 kB / 441 MB, free: 13.45 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003064/0.2929, allocations: 171.1 kB / 441.2 MB, free: 13.27 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005943/0.2935, allocations: 412.3 kB / 441.6 MB, free: 12.82 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.2935, allocations: 0 / 441.6 MB, free: 12.82 MB / 350.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007429/0.2943, allocations: 442.3 kB / 442 MB, free: 12.36 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.003e-05/0.2944, allocations: 101 kB / 442.1 MB, free: 12.24 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.215e-06/0.2944, allocations: 4 kB / 442.1 MB, free: 12.24 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.416e-05/0.2944, allocations: 4.094 kB / 442.1 MB, free: 12.23 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001864/0.2946, allocations: 39.92 kB / 442.2 MB, free: 12.2 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.107e-05/0.2946, allocations: 7.938 kB / 442.2 MB, free: 12.19 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001712/0.2947, allocations: 39.77 kB / 442.2 MB, free: 12.15 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.306e-05/0.2948, allocations: 8 kB / 442.2 MB, free: 12.14 MB / 350.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: 36 (dA_Converter.y,$PRE.dA_Converter.y,aD_Converter.z,$PRE.aD_Converter.z,dA_Converter.x[7],dA_Converter.x[6],dA_Converter.x[5],dA_Converter.x[4],dA_Converter.x[3],dA_Converter.x[2],dA_Converter.x[1],aD_Converter.y[7],$PRE.aD_Converter.y[7],aD_Converter.y[6],$PRE.aD_Converter.y[6],aD_Converter.y[5],$PRE.aD_Converter.y[5],aD_Converter.y[4],$PRE.aD_Converter.y[4],aD_Converter.y[3],$PRE.aD_Converter.y[3],aD_Converter.y[2],$PRE.aD_Converter.y[2],aD_Converter.y[1],$PRE.aD_Converter.y[1],dA_Converter.trig,pulse.sampling,pulse.np,$PRE.pulse.np,pulse.T0,$PRE.pulse.T0,$whenCondition2,$whenCondition1,$whenCondition3,dA_Converter.vout,$PRE.dA_Converter.vout) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002474/0.295, allocations: 251.7 kB / 442.5 MB, free: 11.88 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.724e-05/0.2951, allocations: 31.8 kB / 442.5 MB, free: 11.84 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.218e-05/0.2951, allocations: 26.64 kB / 442.5 MB, free: 11.82 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.2951, allocations: 0 / 442.5 MB, free: 11.82 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.2951, allocations: 0 / 442.5 MB, free: 11.82 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.075e-06/0.2951, allocations: 0 / 442.5 MB, free: 11.82 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001386/0.2965, allocations: 0.9074 MB / 443.4 MB, free: 10.84 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.2965, allocations: 0 / 443.4 MB, free: 10.84 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001133/0.2966, allocations: 27.92 kB / 443.5 MB, free: 10.82 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.2966, allocations: 0 / 443.5 MB, free: 10.82 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.769e-05/0.2967, allocations: 15.92 kB / 443.5 MB, free: 10.8 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.2967, allocations: 0 / 443.5 MB, free: 10.8 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.2967, allocations: 4.031 kB / 443.5 MB, free: 10.8 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009613/0.2976, allocations: 0.6137 MB / 444.1 MB, free: 10.15 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.238e-05/0.2977, allocations: 27.78 kB / 444.1 MB, free: 10.12 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.988e-05/0.2977, allocations: 16 kB / 444.1 MB, free: 10.11 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002043/0.2979, allocations: 19.98 kB / 444.1 MB, free: 10.09 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.876e-05/0.298, allocations: 27.89 kB / 444.2 MB, free: 10.06 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.39e-05/0.298, allocations: 15.94 kB / 444.2 MB, free: 10.05 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001106/0.2981, allocations: 135.2 kB / 444.3 MB, free: 9.914 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2981, allocations: 0 / 444.3 MB, free: 9.914 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003193/0.2985, allocations: 71.94 kB / 444.4 MB, free: 9.844 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 24 ($whenCondition3,$whenCondition1,$whenCondition2,aD_Converter.y[1],aD_Converter.y[2],aD_Converter.y[3],aD_Converter.y[4],aD_Converter.y[5],aD_Converter.y[6],aD_Converter.y[7],aD_Converter.z,pulse.T0,pulse.np,pulse.sampling,dA_Converter.trig,dA_Converter.x[1],dA_Converter.x[2],dA_Converter.x[3],dA_Converter.x[4],dA_Converter.x[5],dA_Converter.x[6],dA_Converter.x[7],dA_Converter.vout,dA_Converter.y) * Number of discrete states: 13 (pulse.np,aD_Converter.y[7],aD_Converter.y[6],aD_Converter.y[5],aD_Converter.y[4],aD_Converter.y[3],aD_Converter.y[2],aD_Converter.y[1],aD_Converter.z,$whenCondition1,dA_Converter.vout,dA_Converter.y,$whenCondition2) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001309/0.2998, allocations: 1.183 MB / 445.6 MB, free: 8.621 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000829/0.3006, allocations: 0.5175 MB / 446.1 MB, free: 8.066 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.3006, allocations: 4.188 kB / 446.1 MB, free: 8.062 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004626/0.3011, allocations: 322.6 kB / 446.4 MB, free: 7.723 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006521/0.3017, allocations: 149 kB / 446.6 MB, free: 7.59 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003902/0.3056, allocations: 2.939 MB / 449.5 MB, free: 4.52 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003978/0.306, allocations: 0.7484 MB / 450.2 MB, free: 3.746 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001784/0.3062, allocations: 53.89 kB / 450.3 MB, free: 3.691 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001197/0.3063, allocations: 67.42 kB / 450.4 MB, free: 3.625 MB / 350.1 MB Notification: Performance of SimCode: time 3e-07/0.3063, allocations: 0 / 450.4 MB, free: 3.625 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03049/0.3368, allocations: 6.778 MB / 457.1 MB, free: 12.98 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.886/8.223, allocations: 14.33 kB / 457.2 MB, free: 12.98 MB / 366.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.AD_DA_conversion.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.AD_DA_conversion_res.csv --start-time 0 --stop-time 0.2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 3.57079e-05 Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_AD_DA_conversion.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.6202281601727] Failed to read output from testmodel.py, exit status != 0: ['time', 'aD_Converter.z', 'pulse.T0', 'pulse.np'] 8.296262313611805 8.316003956 8.028454031 Calling exit ...