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.001272/0.001272, allocations: 103.2 kB / 21.96 MB, free: 5.219 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.001367/0.001367, allocations: 214 kB / 25.26 MB, free: 3.129 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.336/1.336, allocations: 207.7 MB / 236.1 MB, free: 9.789 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.SimpleTriacCircuit,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_SimpleTriacCircuit",fmuType="cs",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.001716/0.001716, allocations: 51.92 kB / 348 MB, free: 9.875 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.257/0.2587, allocations: 49.16 MB / 397.1 MB, free: 8.871 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.SimpleTriacCircuit): time 0.004213/0.2629, allocations: 3.511 MB / 400.7 MB, free: 6.52 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001484/0.2644, allocations: 0.9938 MB / 401.6 MB, free: 5.812 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001848/0.2646, allocations: 10.38 kB / 401.7 MB, free: 5.809 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002129/0.2648, allocations: 84.14 kB / 401.7 MB, free: 5.758 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002698/0.2651, allocations: 168.8 kB / 401.9 MB, free: 5.637 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004423/0.2655, allocations: 214.8 kB / 402.1 MB, free: 5.504 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000666/0.2662, allocations: 0.7598 MB / 402.9 MB, free: 5.105 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002157/0.2664, allocations: 124.2 kB / 403 MB, free: 5.027 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003196/0.2667, allocations: 304.1 kB / 403.3 MB, free: 4.879 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000369/0.2671, allocations: 336.6 kB / 403.6 MB, free: 4.711 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001024/0.2672, allocations: 76.31 kB / 403.7 MB, free: 4.711 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000117/0.2673, allocations: 76.38 kB / 403.8 MB, free: 4.711 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00012/0.2674, allocations: 149.7 kB / 403.9 MB, free: 4.605 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002467/0.2677, allocations: 261.6 kB / 404.2 MB, free: 4.461 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007474/0.2684, allocations: 0.8172 MB / 405 MB, free: 4.125 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.157e-06/0.2684, allocations: 0 / 405 MB, free: 4.125 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.2684, allocations: 0 / 405 MB, free: 4.125 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.574e-05/0.2684, allocations: 1.031 kB / 405 MB, free: 4.125 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.002561/0.271, allocations: 0.9212 MB / 405.9 MB, free: 3.539 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.261e-05/0.2711, allocations: 14.23 kB / 405.9 MB, free: 3.535 MB / 318.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.091e-05/0.2711, allocations: 10.88 kB / 405.9 MB, free: 3.535 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.537e-05/0.2711, allocations: 69.77 kB / 406 MB, free: 3.477 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001118/0.2713, allocations: 61.59 kB / 406.1 MB, free: 3.445 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005585/0.2718, allocations: 347 kB / 406.4 MB, free: 3.172 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.459e-05/0.2719, allocations: 33.67 kB / 406.4 MB, free: 3.156 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.018e-05/0.2719, allocations: 40.44 kB / 406.5 MB, free: 3.141 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001297/0.2732, allocations: 0.5823 MB / 407.1 MB, free: 2.871 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.278e-05/0.2732, allocations: 1.125 kB / 407.1 MB, free: 2.871 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.932e-05/0.2733, allocations: 15.91 kB / 407.1 MB, free: 2.859 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.194e-05/0.2733, allocations: 8.875 kB / 407.1 MB, free: 2.859 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001573/0.2749, allocations: 0.579 MB / 407.7 MB, free: 2.68 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003042/0.2779, allocations: 1.81 MB / 409.5 MB, free: 1.453 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003636/0.2816, allocations: 0.7636 MB / 410.2 MB, free: 1.172 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008508/0.2824, allocations: 340.5 kB / 410.6 MB, free: 1.012 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.974e-05/0.2824, allocations: 9.406 kB / 410.6 MB, free: 1.008 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009631/0.2834, allocations: 435.1 kB / 411 MB, free: 0.7188 MB / 318.1 MB Notification: Performance of pre-optimization done (n=39): time 2.485e-06/0.2834, allocations: 1.156 kB / 411 MB, free: 0.7188 MB / 318.1 MB Notification: Performance of matching and sorting (n=39): time 0.009807/0.2932, allocations: 1.708 MB / 412.7 MB, free: 15.87 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.613e-05/0.2933, allocations: 81.36 kB / 412.8 MB, free: 15.78 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005354/0.2938, allocations: 386.5 kB / 413.2 MB, free: 15.53 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 6.803e-05/0.2939, allocations: 34.83 kB / 413.2 MB, free: 15.49 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002154/0.2941, allocations: 223.7 kB / 413.4 MB, free: 15.29 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001544/0.2943, allocations: 138.9 kB / 413.6 MB, free: 15.18 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001755/0.2944, allocations: 69.19 kB / 413.6 MB, free: 15.12 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002027/0.2946, allocations: 355.9 kB / 414 MB, free: 14.78 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000825/0.2955, allocations: 298.7 kB / 414.3 MB, free: 14.62 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008506/0.2963, allocations: 366.4 kB / 414.6 MB, free: 14.39 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001539/0.2979, allocations: 0.5397 MB / 415.2 MB, free: 14.1 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.2979, allocations: 1.375 kB / 415.2 MB, free: 14.1 MB / 334.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.004838/0.3027, allocations: 1.072 MB / 416.2 MB, free: 13.53 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.81e-05/0.3028, allocations: 39.55 kB / 416.3 MB, free: 13.49 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.814e-06/0.3028, allocations: 1.156 kB / 416.3 MB, free: 13.49 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001225/0.304, allocations: 399.5 kB / 416.7 MB, free: 13.29 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004399/0.3044, allocations: 85.58 kB / 416.7 MB, free: 13.27 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008381/0.3128, allocations: 3.499 MB / 420.2 MB, free: 10.66 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007818/0.3136, allocations: 87.89 kB / 420.3 MB, free: 10.61 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.839e-05/0.3136, allocations: 12.78 kB / 420.3 MB, free: 10.61 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.0003174/0.314, allocations: 179 kB / 420.5 MB, free: 10.45 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.804e-05/0.314, allocations: 43.94 kB / 420.6 MB, free: 10.43 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001304/0.3142, allocations: 50.59 kB / 420.6 MB, free: 10.38 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/0.3142, allocations: 4.219 kB / 420.6 MB, free: 10.38 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.307e-06/0.3142, allocations: 4 kB / 420.6 MB, free: 10.38 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.316e-06/0.3142, allocations: 9.359 kB / 420.6 MB, free: 10.37 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007119/0.3149, allocations: 466.3 kB / 421.1 MB, free: 10.01 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.3149, allocations: 0 / 421.1 MB, free: 10.01 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004331/0.3153, allocations: 80 kB / 421.2 MB, free: 9.984 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001138/0.3165, allocations: 398 kB / 421.6 MB, free: 9.789 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.344e-05/0.3165, allocations: 7.125 kB / 421.6 MB, free: 9.785 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008384/0.3249, allocations: 3.482 MB / 425 MB, free: 6.574 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.973e-06/0.3249, allocations: 4 kB / 425 MB, free: 6.57 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004567/0.3295, allocations: 1.244 MB / 426.3 MB, free: 5.305 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002785/0.3298, allocations: 107.5 kB / 426.4 MB, free: 5.199 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.763e-05/0.3298, allocations: 8.188 kB / 426.4 MB, free: 5.191 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005445/0.3304, allocations: 63.92 kB / 426.5 MB, free: 5.129 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002065/0.3306, allocations: 55.89 kB / 426.5 MB, free: 5.074 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.702e-05/0.3306, allocations: 8 kB / 426.5 MB, free: 5.066 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000364/0.331, allocations: 279.2 kB / 426.8 MB, free: 4.801 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.331, allocations: 0 / 426.8 MB, free: 4.801 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0006439/0.3316, allocations: 167.8 kB / 427 MB, free: 4.637 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.004725/0.3364, allocations: 1.815 MB / 428.8 MB, free: 2.789 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.002501/0.3389, allocations: 0.8856 MB / 429.7 MB, free: 1.871 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.3389, allocations: 0 / 429.7 MB, free: 1.871 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001417/0.3403, allocations: 0.5181 MB / 430.2 MB, free: 1.34 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005238/0.3408, allocations: 85.33 kB / 430.3 MB, free: 1.254 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01312/0.3539, allocations: 5.571 MB / 435.8 MB, free: 11.55 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002589/0.3542, allocations: 224.6 kB / 436.1 MB, free: 11.31 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002379/0.3544, allocations: 43.27 kB / 436.1 MB, free: 11.27 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002586/0.3547, allocations: 151.4 kB / 436.2 MB, free: 11.12 MB / 350.1 MB Notification: Performance of SimCode: time 8.01e-07/0.3547, allocations: 4 kB / 436.2 MB, free: 11.12 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04601/0.4007, allocations: 17.44 MB / 453.7 MB, free: 9.582 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.15/13.55, allocations: 8.062 kB / 453.7 MB, free: 9.574 MB / 366.1 MB " [Timeout remaining time 646] (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.796605732059106] Failed to read output from testmodel.py, exit status != 0: ['time', 'L.i', 'simpleTriac.thyristor.vControl', 'simpleTriac.thyristor1.vControl'] 13.723639526986517 13.737706842 13.466330762 Calling exit ...