Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AD_DA_conversion.conf.json 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.001266/0.001266, allocations: 101.5 kB / 21.21 MB, free: 0.6289 MB / 14.72 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.001329/0.001329, allocations: 188.3 kB / 24.49 MB, free: 3.941 MB / 14.72 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.362/1.362, allocations: 225.7 MB / 253.3 MB, free: 12.81 MB / 206.1 MB " [Timeout remaining time 178] 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) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.AD_DA_conversion,fileNamePrefix="Modelica_4_0_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_0_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.001484/0.001484, allocations: 43.92 kB / 371.2 MB, free: 9.668 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2678/0.2692, allocations: 52.19 MB / 423.4 MB, free: 14.37 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AD_DA_conversion): time 0.004047/0.2733, allocations: 2.245 MB / 425.6 MB, free: 12.11 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001257/0.2745, allocations: 0.6349 MB / 426.2 MB, free: 11.47 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001164/0.2747, allocations: 11.94 kB / 426.3 MB, free: 11.46 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001774/0.2748, allocations: 27.7 kB / 426.3 MB, free: 11.43 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001109/0.275, allocations: 59.48 kB / 426.3 MB, free: 11.38 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003516/0.2753, allocations: 91.72 kB / 426.4 MB, free: 11.29 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003626/0.2757, allocations: 259.1 kB / 426.7 MB, free: 11.03 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002588/0.2759, allocations: 79.59 kB / 426.8 MB, free: 10.95 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002226/0.2761, allocations: 115.6 kB / 426.9 MB, free: 10.84 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002082/0.2764, allocations: 127.5 kB / 427 MB, free: 10.71 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.973e-05/0.2764, allocations: 20 kB / 427 MB, free: 10.69 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.745e-05/0.2765, allocations: 24 kB / 427 MB, free: 10.67 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.156e-05/0.2765, allocations: 51.83 kB / 427.1 MB, free: 10.62 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000163/0.2767, allocations: 103.5 kB / 427.2 MB, free: 10.52 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003997/0.2771, allocations: 282.9 kB / 427.5 MB, free: 10.24 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.93e-06/0.2771, allocations: 3.938 kB / 427.5 MB, free: 10.23 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.2771, allocations: 0 / 427.5 MB, free: 10.23 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.643e-06/0.2771, allocations: 3.938 kB / 427.5 MB, free: 10.23 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.001134/0.2782, allocations: 0.5962 MB / 428.1 MB, free: 9.586 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.021e-05/0.2783, allocations: 12.03 kB / 428.1 MB, free: 9.574 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.026e-05/0.2783, allocations: 8.188 kB / 428.1 MB, free: 9.566 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.931e-05/0.2784, allocations: 58.67 kB / 428.1 MB, free: 9.5 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.708e-05/0.2784, allocations: 24.8 kB / 428.2 MB, free: 9.477 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003294/0.2788, allocations: 178.9 kB / 428.3 MB, free: 9.273 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.729e-05/0.2789, allocations: 83.95 kB / 428.4 MB, free: 9.18 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.53e-05/0.2789, allocations: 20.12 kB / 428.4 MB, free: 9.16 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006741/0.2796, allocations: 349.2 kB / 428.8 MB, free: 8.793 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.847e-05/0.2796, allocations: 7.984 kB / 428.8 MB, free: 8.785 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.833e-05/0.2796, allocations: 8 kB / 428.8 MB, free: 8.777 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.175e-06/0.2796, allocations: 4 kB / 428.8 MB, free: 8.773 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005584/0.2802, allocations: 271.7 kB / 429.1 MB, free: 8.496 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001408/0.2816, allocations: 0.6851 MB / 429.8 MB, free: 7.754 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006603/0.2823, allocations: 322.6 kB / 430.1 MB, free: 7.418 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004944/0.2828, allocations: 263.2 kB / 430.3 MB, free: 7.148 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.45e-05/0.2828, allocations: 4 kB / 430.3 MB, free: 7.145 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006688/0.2834, allocations: 425.3 kB / 430.8 MB, free: 6.68 MB / 334.1 MB Notification: Performance of pre-optimization done (n=31): time 1.754e-06/0.2834, allocations: 0 / 430.8 MB, free: 6.68 MB / 334.1 MB Notification: Performance of matching and sorting (n=31): time 0.001494/0.2849, allocations: 0.7313 MB / 431.5 MB, free: 5.906 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001563/0.2851, allocations: 199.9 kB / 431.7 MB, free: 5.668 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002182/0.2853, allocations: 186.3 kB / 431.9 MB, free: 5.477 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.618e-05/0.2854, allocations: 45.62 kB / 431.9 MB, free: 5.426 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001238/0.2855, allocations: 128.9 kB / 432 MB, free: 5.297 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.771e-05/0.2856, allocations: 91.36 kB / 432.1 MB, free: 5.207 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001297/0.2857, allocations: 66.02 kB / 432.2 MB, free: 5.133 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002085/0.2859, allocations: 334.8 kB / 432.5 MB, free: 4.797 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003201/0.2862, allocations: 201.7 kB / 432.7 MB, free: 4.578 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003786/0.2866, allocations: 285.9 kB / 433 MB, free: 4.254 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006021/0.2872, allocations: 431.6 kB / 433.4 MB, free: 3.785 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.2872, allocations: 0 / 433.4 MB, free: 3.785 MB / 334.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0008058/0.288, allocations: 0.5385 MB / 433.9 MB, free: 3.203 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.706e-05/0.2881, allocations: 97.03 kB / 434 MB, free: 3.09 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.15e-05/0.2881, allocations: 4 kB / 434 MB, free: 3.086 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.731e-05/0.2882, allocations: 0 / 434 MB, free: 3.086 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001966/0.2884, allocations: 39.91 kB / 434.1 MB, free: 3.047 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.37e-05/0.2884, allocations: 7.984 kB / 434.1 MB, free: 3.039 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002054/0.2886, allocations: 35.83 kB / 434.1 MB, free: 3.004 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.644e-05/0.2886, allocations: 12 kB / 434.1 MB, free: 2.992 MB / 334.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.0002795/0.2889, allocations: 235.8 kB / 434.4 MB, free: 2.742 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.658e-05/0.2889, allocations: 27.84 kB / 434.4 MB, free: 2.715 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.827e-05/0.289, allocations: 22.66 kB / 434.4 MB, free: 2.691 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.289, allocations: 0 / 434.4 MB, free: 2.691 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.087e-06/0.289, allocations: 3.984 kB / 434.4 MB, free: 2.688 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.134e-06/0.289, allocations: 4 kB / 434.4 MB, free: 2.684 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001578/0.2906, allocations: 0.942 MB / 435.4 MB, free: 1.664 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.2906, allocations: 4 kB / 435.4 MB, free: 1.66 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001143/0.2907, allocations: 23.92 kB / 435.4 MB, free: 1.637 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.699e-06/0.2907, allocations: 4.172 kB / 435.4 MB, free: 1.633 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.173e-05/0.2907, allocations: 11.98 kB / 435.4 MB, free: 1.621 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.017e-06/0.2907, allocations: 11.97 kB / 435.4 MB, free: 1.609 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.2907, allocations: 0 / 435.4 MB, free: 1.609 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001036/0.2918, allocations: 0.6784 MB / 436.1 MB, free: 0.8867 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.805e-05/0.2918, allocations: 19.86 kB / 436.1 MB, free: 0.8672 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.526e-05/0.2919, allocations: 19.98 kB / 436.1 MB, free: 0.8477 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002139/0.2921, allocations: 23.98 kB / 436.2 MB, free: 0.8242 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.12e-05/0.2922, allocations: 23.91 kB / 436.2 MB, free: 0.8008 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.049e-05/0.2922, allocations: 15.98 kB / 436.2 MB, free: 0.7852 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001396/0.2924, allocations: 132.3 kB / 436.3 MB, free: 0.6562 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2924, allocations: 0 / 436.3 MB, free: 0.6562 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003454/0.2927, allocations: 75.89 kB / 436.4 MB, free: 0.582 MB / 334.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.001485/0.2942, allocations: 1.237 MB / 437.6 MB, free: 15.29 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009848/0.2952, allocations: 0.6575 MB / 438.3 MB, free: 14.57 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.2952, allocations: 7.938 kB / 438.3 MB, free: 14.56 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005223/0.2957, allocations: 366 kB / 438.7 MB, free: 14.16 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007096/0.2964, allocations: 147.7 kB / 438.8 MB, free: 14.03 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004283/0.3007, allocations: 3.355 MB / 442.2 MB, free: 10.46 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001346/0.3008, allocations: 138 kB / 442.3 MB, free: 10.31 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001496/0.301, allocations: 49.89 kB / 442.3 MB, free: 10.25 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001254/0.3011, allocations: 63.42 kB / 442.4 MB, free: 10.19 MB / 350.1 MB Notification: Performance of SimCode: time 4.51e-07/0.3011, allocations: 3.938 kB / 442.4 MB, free: 10.19 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02931/0.3304, allocations: 7.244 MB / 449.7 MB, free: 3.176 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11/11.33, allocations: 6.812 kB / 449.7 MB, free: 3.172 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AD_DA_conversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AD_DA_conversion_res.mat --tempDir=temp_Modelica_4_0_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_0_0_Modelica_Electrical_Analog_Examples_AD_DA_conversion.fmu > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.600109434104525] Failed to read output from testmodel.py, exit status != 0: ['time', 'aD_Converter.z', 'pulse.T0', 'pulse.np'] 11.48884561099112 11.503503808 11.223332616 Calling exit ...