Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ConPNlib_ConPNlib.Examples.Test9.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ConPNlib master/package.mo", uses=false) Using package ConPNlib with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ConPNlib master/package.mo) Running command: "" <> buildModelFMU(ConPNlib.Examples.Test9,fileNamePrefix="ConPNlib_ConPNlib_Examples_Test9",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ConPNlib.Examples.Test9,fileNamePrefix="ConPNlib_ConPNlib_Examples_Test9",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ConPNlib master/package.mo): time 0.009662/0.009662, allocations: 1.367 MB / 16.61 MB, free: 5.152 MB / 13.93 MB Notification: Performance of FrontEnd - loaded program: time 1.777e-05/1.785e-05, allocations: 0 / 23.76 MB, free: 3.719 MB / 13.93 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0007473/0.000796, allocations: 361.8 kB / 24.11 MB, free: 3.375 MB / 13.93 MB Notification: Performance of NFInst.instantiate(ConPNlib.Examples.Test9): time 0.00197/0.002791, allocations: 1.562 MB / 25.67 MB, free: 1.812 MB / 13.93 MB Notification: Performance of NFInst.instExpressions: time 0.00208/0.004896, allocations: 0.9048 MB / 26.58 MB, free: 0.9141 MB / 13.93 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004789/0.005399, allocations: 7.938 kB / 26.58 MB, free: 0.9062 MB / 13.93 MB Notification: Performance of NFTyping.typeComponents: time 0.0005003/0.005921, allocations: 111.2 kB / 26.69 MB, free: 0.7969 MB / 13.93 MB Notification: Performance of NFTyping.typeBindings: time 0.00123/0.007175, allocations: 310.9 kB / 27 MB, free: 0.4922 MB / 13.93 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002184/0.007414, allocations: 61.19 kB / 27.06 MB, free: 444 kB / 13.93 MB Notification: Performance of NFFlatten.flatten: time 0.0008178/0.008249, allocations: 0.5803 MB / 27.64 MB, free: 4.496 MB / 18.57 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005758/0.008844, allocations: 300.7 kB / 27.93 MB, free: 4.188 MB / 18.57 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000434/0.009296, allocations: 222.6 kB / 28.15 MB, free: 3.969 MB / 18.57 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004854/0.009801, allocations: 250.2 kB / 28.39 MB, free: 3.723 MB / 18.57 MB Notification: Performance of NFPackage.collectConstants: time 0.0001147/0.009936, allocations: 28 kB / 28.42 MB, free: 3.695 MB / 18.57 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005863/0.01054, allocations: 227.6 kB / 28.64 MB, free: 3.473 MB / 18.57 MB Notification: Performance of NFScalarize.scalarize: time 0.0002397/0.01079, allocations: 155.3 kB / 28.79 MB, free: 3.32 MB / 18.57 MB Notification: Performance of NFVerifyModel.verify: time 0.0003652/0.01117, allocations: 258 kB / 29.05 MB, free: 3.066 MB / 18.57 MB Notification: Performance of NFConvertDAE.convert: time 0.001217/0.01241, allocations: 0.7905 MB / 29.84 MB, free: 2.273 MB / 18.57 MB Notification: Performance of FrontEnd - DAE generated: time 4.648e-06/0.01243, allocations: 0 / 29.84 MB, free: 2.273 MB / 18.57 MB Notification: Performance of FrontEnd: time 1.743e-06/0.01245, allocations: 0 / 29.84 MB, free: 2.273 MB / 18.57 MB Notification: Performance of Transformations before backend: time 2.416e-05/0.01248, allocations: 0 / 29.84 MB, free: 2.273 MB / 18.57 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 218 * Number of variables: 218 Notification: Performance of Generate backend data structure: time 0.001628/0.01412, allocations: 0.8456 MB / 30.68 MB, free: 1.367 MB / 18.57 MB Notification: Performance of prepare preOptimizeDAE: time 4.677e-05/0.01418, allocations: 12.97 kB / 30.69 MB, free: 1.355 MB / 18.57 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002894/0.01448, allocations: 143.6 kB / 30.83 MB, free: 1.207 MB / 18.57 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002386/0.01473, allocations: 84 kB / 30.92 MB, free: 1.125 MB / 18.57 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008845/0.01563, allocations: 423.9 kB / 31.33 MB, free: 0.6719 MB / 18.57 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001126/0.01576, allocations: 70.34 kB / 31.4 MB, free: 0.6016 MB / 18.57 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001768/0.01595, allocations: 88.36 kB / 31.49 MB, free: 0.5156 MB / 18.57 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009511/0.02548, allocations: 1.224 MB / 32.71 MB, free: 7.121 MB / 18.57 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.512e-05/0.02553, allocations: 3.188 kB / 32.71 MB, free: 7.121 MB / 18.57 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.843e-05/0.02561, allocations: 39.58 kB / 32.75 MB, free: 7.121 MB / 18.57 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001315/0.02575, allocations: 79.95 kB / 32.83 MB, free: 7.121 MB / 18.57 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001232/0.02699, allocations: 0.8775 MB / 33.71 MB, free: 6.914 MB / 18.57 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002447/0.02945, allocations: 2.423 MB / 36.13 MB, free: 4.742 MB / 18.57 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006703/0.03014, allocations: 0.6505 MB / 36.78 MB, free: 4.043 MB / 18.57 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003837/0.03053, allocations: 373.3 kB / 37.14 MB, free: 3.68 MB / 18.57 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002984/0.03084, allocations: 0.606 MB / 37.75 MB, free: 2.949 MB / 18.57 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.198e-05/0.03087, allocations: 34.88 kB / 37.78 MB, free: 2.906 MB / 18.57 MB Notification: Performance of pre-optimization done (n=42): time 2.615e-06/0.03088, allocations: 4 kB / 37.79 MB, free: 2.902 MB / 18.57 MB Notification: Performance of matching and sorting (n=42): time 0.002449/0.03334, allocations: 1.404 MB / 39.19 MB, free: 1.469 MB / 18.57 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.96e-05/0.03341, allocations: 216.2 kB / 39.4 MB, free: 1.211 MB / 18.57 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002241/0.03364, allocations: 314.3 kB / 39.71 MB, free: 0.8945 MB / 18.57 MB Notification: Performance of collectPreVariables (initialization): time 5.411e-05/0.0337, allocations: 37.7 kB / 39.75 MB, free: 0.8516 MB / 18.57 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001451/0.03386, allocations: 339.7 kB / 40.08 MB, free: 0.5234 MB / 18.57 MB Notification: Performance of collectInitialBindings (initialization): time 7.71e-05/0.03394, allocations: 135.8 kB / 40.21 MB, free: 404 kB / 18.57 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.647e-05/0.03402, allocations: 85.67 kB / 40.29 MB, free: 312 kB / 18.57 MB Notification: Performance of setup shared object (initialization): time 0.005423/0.03945, allocations: 342.8 kB / 40.63 MB, free: 5.988 MB / 18.57 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006138/0.04008, allocations: 312.9 kB / 40.94 MB, free: 5.988 MB / 18.57 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004988/0.04058, allocations: 457 kB / 41.38 MB, free: 5.836 MB / 18.57 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007655/0.04136, allocations: 0.781 MB / 42.16 MB, free: 5.582 MB / 18.57 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.04137, allocations: 3.719 kB / 42.17 MB, free: 5.582 MB / 18.57 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001294/0.04267, allocations: 1.065 MB / 43.23 MB, free: 5.277 MB / 18.57 MB Notification: Performance of prepare postOptimizeDAE: time 5.461e-05/0.04274, allocations: 95.94 kB / 43.32 MB, free: 5.203 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.914e-06/0.04275, allocations: 2.156 kB / 43.33 MB, free: 5.203 MB / 18.57 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001592/0.04435, allocations: 430.4 kB / 43.75 MB, free: 4.914 MB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001873/0.04455, allocations: 72.92 kB / 43.82 MB, free: 4.844 MB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004998/0.04506, allocations: 0.7773 MB / 44.6 MB, free: 4.047 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002355/0.0453, allocations: 84.89 kB / 44.68 MB, free: 3.988 MB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.153e-05/0.04536, allocations: 41 kB / 44.72 MB, free: 3.949 MB / 18.57 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 26 (P1.emptying,$PRE.P1.fireOut[1],P3.feeding,$PRE.P3.fireIn[1],P2.outTransition[1].arcType,P1.outTransition[1].arcType,T1.activation.fed[1],T2.activation.emptied[1],T2.activation.arcType[1],T1.activation.arcType[1],P3.fireIn[1],T2.activation.weaklyOutputActiveVec[1],T2.activation.weaklyInputActiveVec[1],T2.activation.active,T2.activation.fed[1],P2.fireOut[1],$PRE.P2.fireOut[1],P2.fireIn[1],$PRE.P2.fireIn[1],T1.activation.weaklyOutputActiveVec[1],T1.activation.weaklyInputActiveVec[1],T1.activation.active,T1.activation.emptied[1],P1.fireOut[1],T2.outPlaces[1].enabledByInPlaces,T1.outPlaces[1].enabledByInPlaces) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (56): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 2 * 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 {(3,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0003449/0.04571, allocations: 383.8 kB / 45.09 MB, free: 3.559 MB / 18.57 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.775e-05/0.04579, allocations: 43.69 kB / 45.14 MB, free: 3.535 MB / 18.57 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001208/0.047, allocations: 0.9918 MB / 46.13 MB, free: 2.531 MB / 18.57 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-05/0.04704, allocations: 11.98 kB / 46.14 MB, free: 2.52 MB / 18.57 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.04705, allocations: 0 / 46.14 MB, free: 2.52 MB / 18.57 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.04706, allocations: 3.984 kB / 46.14 MB, free: 2.516 MB / 18.57 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001647/0.04871, allocations: 1.662 MB / 47.81 MB, free: 0.8125 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.04873, allocations: 1.531 kB / 47.81 MB, free: 0.8125 MB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001426/0.04888, allocations: 39.97 kB / 47.85 MB, free: 0.7734 MB / 18.57 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00626/0.05514, allocations: 331.9 kB / 48.17 MB, free: 5.609 MB / 18.57 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.713e-05/0.05522, allocations: 20.33 kB / 48.19 MB, free: 5.609 MB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005476/0.05577, allocations: 0.8038 MB / 48.99 MB, free: 5.094 MB / 18.57 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.05579, allocations: 0.5 kB / 48.99 MB, free: 5.094 MB / 18.57 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001625/0.05742, allocations: 1.41 MB / 50.41 MB, free: 4.891 MB / 18.57 MB Notification: Performance of postOpt removeConstants (simulation): time 4.397e-05/0.05747, allocations: 109.8 kB / 50.51 MB, free: 4.797 MB / 18.57 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.987e-05/0.05755, allocations: 28.59 kB / 50.54 MB, free: 4.797 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000218/0.05777, allocations: 49.66 kB / 50.59 MB, free: 4.797 MB / 18.57 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001887/0.05797, allocations: 111.6 kB / 50.7 MB, free: 4.785 MB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.225e-05/0.05802, allocations: 26.83 kB / 50.72 MB, free: 4.781 MB / 18.57 MB Notification: Performance of sorting global known variables: time 0.0001314/0.05816, allocations: 197.3 kB / 50.92 MB, free: 4.672 MB / 18.57 MB Notification: Performance of sort global known variables: time 1e-07/0.05816, allocations: 0 / 50.92 MB, free: 4.672 MB / 18.57 MB Notification: Performance of remove unused functions: time 0.0004795/0.05865, allocations: 243.8 kB / 51.15 MB, free: 4.637 MB / 18.57 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (P1.t_,P2.t_,P3.t_) * Number of discrete variables: 14 (P1.fireOut[1],P1.emptying,T1.activation.emptied[1],T1.activation.active,T1.activation.weaklyInputActiveVec[1],T1.activation.weaklyOutputActiveVec[1],P2.fireIn[1],P2.fireOut[1],T2.activation.fed[1],T2.activation.active,T2.activation.weaklyInputActiveVec[1],T2.activation.weaklyOutputActiveVec[1],P3.fireIn[1],P3.feeding) * Number of discrete states: 10 (P1.fireOut[1],P2.fireIn[1],T2.activation.weaklyOutputActiveVec[1],T2.activation.weaklyInputActiveVec[1],T2.activation.active,P2.fireOut[1],T1.activation.weaklyOutputActiveVec[1],T1.activation.weaklyInputActiveVec[1],T1.activation.active,P3.fireIn[1]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 2 * 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 {(3,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001862/0.06052, allocations: 2.054 MB / 53.21 MB, free: 2.883 MB / 18.57 MB Notification: Performance of simCode: created initialization part: time 0.001032/0.06156, allocations: 0.9639 MB / 54.17 MB, free: 1.918 MB / 18.57 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.06158, allocations: 1.188 kB / 54.17 MB, free: 1.918 MB / 18.57 MB Notification: Performance of simCode: created simulation system equations: time 0.0005413/0.06212, allocations: 0.5499 MB / 54.72 MB, free: 1.352 MB / 18.57 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003467/0.06248, allocations: 63.48 kB / 54.79 MB, free: 1.289 MB / 18.57 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01441/0.0769, allocations: 5.898 MB / 60.68 MB, free: 2.895 MB / 18.57 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005619/0.0775, allocations: 1.018 MB / 61.7 MB, free: 1.898 MB / 18.57 MB Notification: Performance of simCode: alias equations: time 0.0003854/0.07792, allocations: 124.8 kB / 61.82 MB, free: 1.793 MB / 18.57 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003048/0.07824, allocations: 220.8 kB / 62.04 MB, free: 1.582 MB / 18.57 MB Notification: Performance of SimCode: time 7.61e-07/0.07826, allocations: 4 kB / 62.04 MB, free: 1.578 MB / 18.57 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04032/0.1186, allocations: 12.25 MB / 74.29 MB, free: 1.766 MB / 24.77 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001593/0.1188, allocations: 190.6 kB / 74.48 MB, free: 1.512 MB / 24.77 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.234/2.353, allocations: 3.938 kB / 74.48 MB, free: 1.508 MB / 24.77 MB (rm -f ConPNlib_ConPNlib.Examples.Test9.pipe ; mkfifo ConPNlib_ConPNlib.Examples.Test9.pipe ; head -c 1048576 < ConPNlib_ConPNlib.Examples.Test9.pipe >> ../files/ConPNlib_ConPNlib.Examples.Test9.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ConPNlib_ConPNlib_Examples_Test9_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ConPNlib_ConPNlib_Examples_Test9.fmu > ConPNlib_ConPNlib.Examples.Test9.pipe 2>&1)