Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit.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.00152/0.00152, allocations: 103.6 kB / 21.18 MB, free: 472 kB / 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.001695/0.001695, allocations: 214.4 kB / 24.47 MB, free: 3.793 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.363/1.363, allocations: 207.7 MB / 235.3 MB, free: 9.781 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.SimpleTriacCircuit,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_SimpleTriacCircuit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.SimpleTriacCircuit,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_SimpleTriacCircuit",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001874/0.001874, allocations: 51.94 kB / 347.2 MB, free: 9.887 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2555/0.2574, allocations: 49.15 MB / 396.4 MB, free: 8.875 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.SimpleTriacCircuit): time 0.004046/0.2615, allocations: 3.511 MB / 399.9 MB, free: 6.531 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001811/0.2633, allocations: 0.9983 MB / 400.9 MB, free: 5.82 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002825/0.2636, allocations: 10.31 kB / 400.9 MB, free: 5.816 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002413/0.2638, allocations: 81.19 kB / 401 MB, free: 5.77 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003355/0.2641, allocations: 176.8 kB / 401.1 MB, free: 5.641 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004592/0.2646, allocations: 214.7 kB / 401.3 MB, free: 5.508 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000733/0.2653, allocations: 0.7603 MB / 402.1 MB, free: 5.109 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000229/0.2656, allocations: 115.4 kB / 402.2 MB, free: 5.043 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003933/0.2659, allocations: 300.4 kB / 402.5 MB, free: 4.898 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003603/0.2663, allocations: 292.7 kB / 402.8 MB, free: 4.773 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001113/0.2664, allocations: 77.19 kB / 402.9 MB, free: 4.773 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001249/0.2665, allocations: 80.97 kB / 402.9 MB, free: 4.77 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001089/0.2666, allocations: 152.2 kB / 403.1 MB, free: 4.66 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002569/0.2669, allocations: 263 kB / 403.3 MB, free: 4.512 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007947/0.2677, allocations: 0.8115 MB / 404.2 MB, free: 4.184 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.2677, allocations: 5.281 kB / 404.2 MB, free: 4.18 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.2677, allocations: 0 / 404.2 MB, free: 4.18 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.295e-05/0.2677, allocations: 0 / 404.2 MB, free: 4.18 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 88 * Number of variables: 88 Notification: Performance of Generate backend data structure: time 0.002376/0.2701, allocations: 0.9174 MB / 405.1 MB, free: 3.598 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.285e-05/0.2701, allocations: 13.72 kB / 405.1 MB, free: 3.594 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.721e-05/0.2702, allocations: 71.44 kB / 405.2 MB, free: 3.535 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00011/0.2703, allocations: 60.56 kB / 405.2 MB, free: 3.504 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005695/0.2709, allocations: 344.7 kB / 405.6 MB, free: 3.238 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.51e-05/0.2709, allocations: 32.62 kB / 405.6 MB, free: 3.219 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.334e-05/0.271, allocations: 41.03 kB / 405.6 MB, free: 3.203 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001279/0.2723, allocations: 0.5828 MB / 406.2 MB, free: 2.93 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.542e-05/0.2723, allocations: 0 / 406.2 MB, free: 2.93 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.718e-05/0.2723, allocations: 16.5 kB / 406.2 MB, free: 2.918 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.26e-05/0.2724, allocations: 8.5 kB / 406.2 MB, free: 2.918 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001637/0.274, allocations: 0.5697 MB / 406.8 MB, free: 2.746 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003116/0.2771, allocations: 1.822 MB / 408.6 MB, free: 1.508 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003359/0.2805, allocations: 0.7625 MB / 409.4 MB, free: 1.23 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008445/0.2813, allocations: 336.4 kB / 409.7 MB, free: 1.074 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.622e-05/0.2814, allocations: 9.234 kB / 409.7 MB, free: 1.07 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000918/0.2823, allocations: 427.2 kB / 410.1 MB, free: 0.7891 MB / 318.1 MB Notification: Performance of pre-optimization done (n=39): time 1.944e-06/0.2823, allocations: 0 / 410.1 MB, free: 0.7891 MB / 318.1 MB Notification: Performance of matching and sorting (n=39): time 0.008743/0.291, allocations: 1.715 MB / 411.9 MB, free: 15.93 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.773e-05/0.2911, allocations: 81.2 kB / 411.9 MB, free: 15.84 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005141/0.2916, allocations: 381.8 kB / 412.3 MB, free: 15.61 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 6.577e-05/0.2917, allocations: 39.52 kB / 412.4 MB, free: 15.56 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001828/0.2918, allocations: 228.3 kB / 412.6 MB, free: 15.36 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001305/0.292, allocations: 138.8 kB / 412.7 MB, free: 15.24 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001624/0.2921, allocations: 73.69 kB / 412.8 MB, free: 15.18 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001665/0.2923, allocations: 349.4 kB / 413.1 MB, free: 14.84 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009105/0.2932, allocations: 293.2 kB / 413.4 MB, free: 14.69 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009222/0.2941, allocations: 366 kB / 413.8 MB, free: 14.45 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001663/0.2958, allocations: 0.5513 MB / 414.3 MB, free: 14.15 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-06/0.2958, allocations: 1.219 kB / 414.3 MB, free: 14.15 MB / 334.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.004588/0.3004, allocations: 1.072 MB / 415.4 MB, free: 13.58 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.596e-05/0.3004, allocations: 36 kB / 415.4 MB, free: 13.55 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.665e-06/0.3005, allocations: 1.281 kB / 415.4 MB, free: 13.55 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00122/0.3017, allocations: 401.6 kB / 415.8 MB, free: 13.35 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004665/0.3021, allocations: 84.11 kB / 415.9 MB, free: 13.32 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008588/0.3107, allocations: 3.499 MB / 419.4 MB, free: 10.72 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007656/0.3115, allocations: 87.64 kB / 419.5 MB, free: 10.67 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.081e-05/0.3116, allocations: 13.55 kB / 419.5 MB, free: 10.67 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 7 (pulseCurrent.signalSource.count,$PRE.pulseCurrent.signalSource.count,pulseCurrent.signalSource.T_start,$PRE.pulseCurrent.signalSource.T_start,simpleTriac.idealDiode1.off,simpleTriac.idealDiode.off,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0003393/0.3119, allocations: 170.6 kB / 419.7 MB, free: 10.52 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000133/0.3121, allocations: 48.44 kB / 419.7 MB, free: 10.49 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001398/0.3122, allocations: 58.39 kB / 419.8 MB, free: 10.44 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.159e-06/0.3122, allocations: 3.625 kB / 419.8 MB, free: 10.44 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.3122, allocations: 1.25 kB / 419.8 MB, free: 10.44 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.05e-06/0.3122, allocations: 0 / 419.8 MB, free: 10.44 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007559/0.313, allocations: 467.6 kB / 420.2 MB, free: 10.08 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.855e-06/0.313, allocations: 4 kB / 420.2 MB, free: 10.07 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004408/0.3134, allocations: 78.59 kB / 420.3 MB, free: 10.05 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001225/0.3146, allocations: 390.6 kB / 420.7 MB, free: 9.859 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.706e-05/0.3147, allocations: 15.39 kB / 420.7 MB, free: 9.848 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008682/0.3234, allocations: 3.499 MB / 424.2 MB, free: 6.629 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.3234, allocations: 4 kB / 424.2 MB, free: 6.625 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004695/0.3281, allocations: 1.248 MB / 425.5 MB, free: 5.355 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003371/0.3284, allocations: 95.58 kB / 425.6 MB, free: 5.262 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001135/0.3285, allocations: 8 kB / 425.6 MB, free: 5.254 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005688/0.3291, allocations: 63.92 kB / 425.6 MB, free: 5.191 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001641/0.3293, allocations: 51.91 kB / 425.7 MB, free: 5.141 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.571e-05/0.3293, allocations: 15.98 kB / 425.7 MB, free: 5.125 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003791/0.3297, allocations: 267.2 kB / 426 MB, free: 4.863 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3297, allocations: 0 / 426 MB, free: 4.863 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000727/0.3304, allocations: 175.8 kB / 426.1 MB, free: 4.691 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (L.i,simpleTriac.thyristor.vControl,simpleTriac.thyristor1.vControl) * Number of discrete variables: 5 ($whenCondition1,simpleTriac.idealDiode.off,simpleTriac.idealDiode1.off,pulseCurrent.signalSource.T_start,pulseCurrent.signalSource.count) * Number of discrete states: 1 (pulseCurrent.signalSource.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,12)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004993/0.3354, allocations: 1.807 MB / 427.9 MB, free: 2.852 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.002593/0.338, allocations: 0.8894 MB / 428.8 MB, free: 1.93 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.038e-06/0.338, allocations: 4.062 kB / 428.8 MB, free: 1.926 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001517/0.3395, allocations: 0.522 MB / 429.3 MB, free: 1.391 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005617/0.3401, allocations: 85.61 kB / 429.4 MB, free: 1.309 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01368/0.3538, allocations: 5.567 MB / 435 MB, free: 11.61 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002692/0.354, allocations: 228.5 kB / 435.2 MB, free: 11.37 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002363/0.3543, allocations: 43.27 kB / 435.3 MB, free: 11.33 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002601/0.3545, allocations: 155.4 kB / 435.4 MB, free: 11.18 MB / 350.1 MB Notification: Performance of SimCode: time 8.11e-07/0.3545, allocations: 0 / 435.4 MB, free: 11.18 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05502/0.4096, allocations: 17.93 MB / 453.3 MB, free: 9.141 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.65/13.06, allocations: 3.938 kB / 453.3 MB, free: 9.137 MB / 366.1 MB " [Timeout remaining time 647] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Analog_Examples_SimpleTriacCircuit_fmu --startTime=0 --stopTime=0.001 --stepSize=5e-07 --timeout=50 --tolerance=1e-12 Modelica_3_2_3_Modelica_Electrical_Analog_Examples_SimpleTriacCircuit.fmu > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.273070596158504] Failed to read output from testmodel.py, exit status != 0: ['time', 'L.i', 'simpleTriac.thyristor.vControl', 'simpleTriac.thyristor1.vControl'] 13.185218425001949 13.202288088 12.931249916 Calling exit ...