Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.AD_DA_conversion.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.001235/0.001235, allocations: 105.1 kB / 21.22 MB, free: 0.6289 MB / 14.72 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.001439/0.001439, allocations: 211.8 kB / 24.51 MB, free: 3.914 MB / 14.72 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 1.472/1.472, allocations: 230.6 MB / 258.3 MB, free: 7.781 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+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(Modelica.Electrical.Analog.Examples.AD_DA_conversion,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_AD_DA_conversion",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.AD_DA_conversion,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_AD_DA_conversion",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002016/0.002016, allocations: 43.92 kB / 378.5 MB, free: 2.965 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2676/0.2696, allocations: 53.37 MB / 431.9 MB, free: 6.648 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AD_DA_conversion): time 0.004032/0.2737, allocations: 2.277 MB / 434.1 MB, free: 4.367 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001387/0.2751, allocations: 0.705 MB / 434.9 MB, free: 3.656 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001193/0.2752, allocations: 4 kB / 434.9 MB, free: 3.652 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001612/0.2753, allocations: 31.64 kB / 434.9 MB, free: 3.621 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001128/0.2755, allocations: 55.52 kB / 434.9 MB, free: 3.566 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004082/0.2759, allocations: 107.8 kB / 435 MB, free: 3.461 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003577/0.2762, allocations: 271 kB / 435.3 MB, free: 3.195 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002198/0.2764, allocations: 72.38 kB / 435.4 MB, free: 3.121 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002478/0.2767, allocations: 127.5 kB / 435.5 MB, free: 2.996 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001623/0.2769, allocations: 111.5 kB / 435.6 MB, free: 2.887 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.675e-05/0.2769, allocations: 28 kB / 435.6 MB, free: 2.859 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.999e-05/0.277, allocations: 31.97 kB / 435.7 MB, free: 2.828 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.217e-05/0.277, allocations: 55.78 kB / 435.7 MB, free: 2.773 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001212/0.2772, allocations: 95.59 kB / 435.8 MB, free: 2.68 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003541/0.2775, allocations: 298.7 kB / 436.1 MB, free: 2.387 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.2775, allocations: 0 / 436.1 MB, free: 2.387 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.2775, allocations: 0 / 436.1 MB, free: 2.387 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.332e-06/0.2775, allocations: 0 / 436.1 MB, free: 2.387 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.0009976/0.2785, allocations: 0.5962 MB / 436.7 MB, free: 1.742 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.97e-05/0.2786, allocations: 12.03 kB / 436.7 MB, free: 1.73 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.748e-05/0.2786, allocations: 7.969 kB / 436.7 MB, free: 1.723 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.147e-05/0.2786, allocations: 54.73 kB / 436.8 MB, free: 1.66 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001646/0.2788, allocations: 40.73 kB / 436.8 MB, free: 1.621 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003251/0.2791, allocations: 186.1 kB / 437 MB, free: 1.414 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.637e-05/0.2792, allocations: 79.95 kB / 437.1 MB, free: 1.324 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.333e-05/0.2793, allocations: 20.12 kB / 437.1 MB, free: 1.305 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000636/0.2799, allocations: 357.2 kB / 437.4 MB, free: 0.9297 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.184e-05/0.2799, allocations: 3.938 kB / 437.5 MB, free: 0.9258 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.933e-05/0.28, allocations: 8 kB / 437.5 MB, free: 0.918 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.855e-06/0.28, allocations: 4 kB / 437.5 MB, free: 0.9141 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005368/0.2805, allocations: 275.7 kB / 437.7 MB, free: 0.6328 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001314/0.2818, allocations: 0.6774 MB / 438.4 MB, free: 15.9 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006199/0.2824, allocations: 326.6 kB / 438.7 MB, free: 15.55 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004537/0.2829, allocations: 260.4 kB / 439 MB, free: 15.29 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.216e-05/0.2829, allocations: 4 kB / 439 MB, free: 15.28 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005806/0.2835, allocations: 417.4 kB / 439.4 MB, free: 14.82 MB / 350.1 MB Notification: Performance of pre-optimization done (n=31): time 1.833e-06/0.2835, allocations: 0 / 439.4 MB, free: 14.82 MB / 350.1 MB Notification: Performance of matching and sorting (n=31): time 0.001299/0.2848, allocations: 0.7313 MB / 440.1 MB, free: 14.05 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001302/0.2849, allocations: 199.9 kB / 440.3 MB, free: 13.81 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001854/0.2851, allocations: 190.7 kB / 440.5 MB, free: 13.61 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.845e-05/0.2851, allocations: 37.7 kB / 440.5 MB, free: 13.57 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001018/0.2852, allocations: 136.8 kB / 440.7 MB, free: 13.43 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.562e-05/0.2853, allocations: 79.38 kB / 440.8 MB, free: 13.36 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001057/0.2854, allocations: 70.02 kB / 440.8 MB, free: 13.28 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001549/0.2856, allocations: 338.8 kB / 441.2 MB, free: 12.94 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003039/0.2859, allocations: 201.7 kB / 441.4 MB, free: 12.72 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003659/0.2863, allocations: 289.9 kB / 441.6 MB, free: 12.39 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005766/0.2868, allocations: 432.3 kB / 442.1 MB, free: 11.93 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.816e-06/0.2868, allocations: 0 / 442.1 MB, free: 11.93 MB / 350.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007798/0.2876, allocations: 0.5268 MB / 442.6 MB, free: 11.36 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.027e-05/0.2877, allocations: 105.1 kB / 442.7 MB, free: 11.23 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.571e-06/0.2877, allocations: 0 / 442.7 MB, free: 11.23 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.865e-05/0.2877, allocations: 4 kB / 442.7 MB, free: 11.23 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001886/0.2879, allocations: 39.92 kB / 442.7 MB, free: 11.19 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.383e-06/0.2879, allocations: 0 / 442.7 MB, free: 11.19 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001798/0.2881, allocations: 39.77 kB / 442.8 MB, free: 11.15 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.742e-05/0.2881, allocations: 12 kB / 442.8 MB, free: 11.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.0002527/0.2884, allocations: 247.7 kB / 443 MB, free: 10.88 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.001e-05/0.2884, allocations: 27.98 kB / 443.1 MB, free: 10.85 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.266e-05/0.2885, allocations: 26.64 kB / 443.1 MB, free: 10.82 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.229e-06/0.2885, allocations: 7.938 kB / 443.1 MB, free: 10.82 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.2885, allocations: 0 / 443.1 MB, free: 10.82 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.2885, allocations: 0 / 443.1 MB, free: 10.82 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001451/0.2899, allocations: 0.942 MB / 444 MB, free: 9.797 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-06/0.2899, allocations: 0 / 444 MB, free: 9.797 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001126/0.2901, allocations: 23.98 kB / 444.1 MB, free: 9.773 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.614e-06/0.2901, allocations: 7.984 kB / 444.1 MB, free: 9.766 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.904e-05/0.2901, allocations: 8 kB / 444.1 MB, free: 9.758 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/0.2901, allocations: 0 / 444.1 MB, free: 9.758 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.2901, allocations: 0 / 444.1 MB, free: 9.758 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001004/0.2911, allocations: 0.6872 MB / 444.8 MB, free: 9.027 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.079e-05/0.2911, allocations: 23.8 kB / 444.8 MB, free: 9.004 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.069e-05/0.2912, allocations: 15.98 kB / 444.8 MB, free: 8.988 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002139/0.2914, allocations: 19.98 kB / 444.8 MB, free: 8.969 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.397e-05/0.2915, allocations: 35.89 kB / 444.8 MB, free: 8.934 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.826e-05/0.2915, allocations: 8 kB / 444.9 MB, free: 8.926 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001176/0.2916, allocations: 139.2 kB / 445 MB, free: 8.789 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2916, allocations: 0 / 445 MB, free: 8.789 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000337/0.292, allocations: 71.94 kB / 445.1 MB, free: 8.719 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.001423/0.2934, allocations: 1.254 MB / 446.3 MB, free: 7.414 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000965/0.2944, allocations: 0.6533 MB / 447 MB, free: 6.695 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.2944, allocations: 4.188 kB / 447 MB, free: 6.691 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005235/0.2949, allocations: 369.9 kB / 447.3 MB, free: 6.293 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006761/0.2956, allocations: 144.7 kB / 447.5 MB, free: 6.16 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004431/0.3, allocations: 3.369 MB / 450.8 MB, free: 2.578 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001378/0.3001, allocations: 133.6 kB / 451 MB, free: 2.43 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001583/0.3003, allocations: 53.89 kB / 451 MB, free: 2.375 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000118/0.3004, allocations: 67.41 kB / 451.1 MB, free: 2.309 MB / 350.1 MB Notification: Performance of SimCode: time 6.01e-07/0.3004, allocations: 0 / 451.1 MB, free: 2.309 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02886/0.3293, allocations: 7.275 MB / 458.4 MB, free: 11.27 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.04/11.37, allocations: 10.33 kB / 458.4 MB, free: 11.26 MB / 366.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.AD_DA_conversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.Analog.Examples.AD_DA_conversion_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_Analog_Examples_AD_DA_conversion_fmu --startTime=0 --stopTime=0.2 --stepSize=3.57079e-05 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Electrical_Analog_Examples_AD_DA_conversion.fmu > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.766527503030375] Failed to read output from testmodel.py, exit status != 0: ['time', 'aD_Converter.z', 'pulse.T0', 'pulse.np'] 11.531911510042846 11.545983278 11.265496295 Calling exit ...