Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ConPNlib_ConPNlib.Examples.Test11.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.Test11,fileNamePrefix="ConPNlib_ConPNlib_Examples_Test11",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ConPNlib.Examples.Test11,fileNamePrefix="ConPNlib_ConPNlib_Examples_Test11",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ConPNlib master/package.mo): time 0.005793/0.005793, allocations: 1.364 MB / 16.64 MB, free: 4.773 MB / 13.93 MB Notification: Performance of FrontEnd - loaded program: time 2.001e-05/2.012e-05, allocations: 0 / 23.81 MB, free: 3.426 MB / 13.93 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0008266/0.0008772, allocations: 353.7 kB / 24.15 MB, free: 3.09 MB / 13.93 MB Notification: Performance of NFInst.instantiate(ConPNlib.Examples.Test11): time 0.001594/0.002488, allocations: 1.531 MB / 25.68 MB, free: 1.559 MB / 13.93 MB Notification: Performance of NFInst.instExpressions: time 0.001959/0.004471, allocations: 0.8892 MB / 26.57 MB, free: 0.6758 MB / 13.93 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005672/0.005059, allocations: 7.938 kB / 26.58 MB, free: 0.668 MB / 13.93 MB Notification: Performance of NFTyping.typeComponents: time 0.0003657/0.005439, allocations: 111.2 kB / 26.69 MB, free: 0.5586 MB / 13.93 MB Notification: Performance of NFTyping.typeBindings: time 0.001409/0.006861, allocations: 315.7 kB / 27 MB, free: 256 kB / 13.93 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002473/0.007126, allocations: 59.94 kB / 27.06 MB, free: 196 kB / 13.93 MB Notification: Performance of NFFlatten.flatten: time 0.0008885/0.008027, allocations: 0.5836 MB / 27.64 MB, free: 4.254 MB / 18.57 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004985/0.008537, allocations: 296.6 kB / 27.93 MB, free: 3.945 MB / 18.57 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004606/0.009008, allocations: 226.6 kB / 28.15 MB, free: 3.723 MB / 18.57 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005189/0.009541, allocations: 258.2 kB / 28.4 MB, free: 3.469 MB / 18.57 MB Notification: Performance of NFPackage.collectConstants: time 0.0001346/0.009685, allocations: 24 kB / 28.43 MB, free: 3.445 MB / 18.57 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006178/0.01031, allocations: 219.6 kB / 28.64 MB, free: 3.23 MB / 18.57 MB Notification: Performance of NFScalarize.scalarize: time 0.000255/0.01058, allocations: 155.3 kB / 28.79 MB, free: 3.078 MB / 18.57 MB Notification: Performance of NFVerifyModel.verify: time 0.0003731/0.01096, allocations: 287.7 kB / 29.07 MB, free: 2.789 MB / 18.57 MB Notification: Performance of NFConvertDAE.convert: time 0.001309/0.01228, allocations: 0.7905 MB / 29.86 MB, free: 1.996 MB / 18.57 MB Notification: Performance of FrontEnd - DAE generated: time 6.903e-06/0.01229, allocations: 0 / 29.86 MB, free: 1.996 MB / 18.57 MB Notification: Performance of FrontEnd: time 2.094e-06/0.0123, allocations: 0 / 29.86 MB, free: 1.996 MB / 18.57 MB Notification: Performance of Transformations before backend: time 4.122e-05/0.01235, allocations: 0 / 29.86 MB, free: 1.996 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.001682/0.01404, allocations: 0.8462 MB / 30.71 MB, free: 1.09 MB / 18.57 MB Notification: Performance of prepare preOptimizeDAE: time 6.124e-05/0.01411, allocations: 8.312 kB / 30.72 MB, free: 1.082 MB / 18.57 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004279/0.01454, allocations: 147.5 kB / 30.86 MB, free: 0.9297 MB / 18.57 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002759/0.01483, allocations: 84 kB / 30.94 MB, free: 0.8477 MB / 18.57 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006936/0.01553, allocations: 423.9 kB / 31.36 MB, free: 404 kB / 18.57 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.701e-05/0.01563, allocations: 66.36 kB / 31.42 MB, free: 336 kB / 18.57 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001399/0.01577, allocations: 88.36 kB / 31.51 MB, free: 248 kB / 18.57 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01093/0.02672, allocations: 1.227 MB / 32.74 MB, free: 7.168 MB / 18.57 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.077e-05/0.02678, allocations: 0.5312 kB / 32.74 MB, free: 7.168 MB / 18.57 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.422e-05/0.02686, allocations: 39.05 kB / 32.77 MB, free: 7.168 MB / 18.57 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001155/0.02699, allocations: 76.17 kB / 32.85 MB, free: 7.168 MB / 18.57 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001207/0.0282, allocations: 0.8836 MB / 33.73 MB, free: 6.918 MB / 18.57 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002573/0.03078, allocations: 2.427 MB / 36.16 MB, free: 4.449 MB / 18.57 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007296/0.03153, allocations: 0.5814 MB / 36.74 MB, free: 3.84 MB / 18.57 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004163/0.03196, allocations: 377.3 kB / 37.11 MB, free: 3.469 MB / 18.57 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006355/0.0326, allocations: 1.027 MB / 38.14 MB, free: 2.223 MB / 18.57 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.764e-05/0.03264, allocations: 42.61 kB / 38.18 MB, free: 2.176 MB / 18.57 MB Notification: Performance of pre-optimization done (n=43): time 2.655e-06/0.03265, allocations: 0 / 38.18 MB, free: 2.176 MB / 18.57 MB Notification: Performance of matching and sorting (n=43): time 0.002875/0.03553, allocations: 1.432 MB / 39.61 MB, free: 0.7109 MB / 18.57 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.142e-05/0.03563, allocations: 223.8 kB / 39.83 MB, free: 460 kB / 18.57 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002786/0.03592, allocations: 314.1 kB / 40.14 MB, free: 140 kB / 18.57 MB Notification: Performance of collectPreVariables (initialization): time 3.729e-05/0.03596, allocations: 34.33 kB / 40.17 MB, free: 100 kB / 18.57 MB Notification: Performance of collectInitialEqns (initialization): time 0.009015/0.04498, allocations: 334.8 kB / 40.5 MB, free: 6.215 MB / 18.57 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002591/0.04527, allocations: 139.1 kB / 40.63 MB, free: 6.137 MB / 18.57 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.044e-05/0.04532, allocations: 13.53 kB / 40.65 MB, free: 6.137 MB / 18.57 MB Notification: Performance of setup shared object (initialization): time 9.774e-05/0.04542, allocations: 344.3 kB / 40.98 MB, free: 5.824 MB / 18.57 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005502/0.04598, allocations: 320.3 kB / 41.29 MB, free: 5.824 MB / 18.57 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005118/0.0465, allocations: 450.2 kB / 41.73 MB, free: 5.68 MB / 18.57 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009124/0.04743, allocations: 0.7813 MB / 42.52 MB, free: 5.434 MB / 18.57 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.801e-06/0.04744, allocations: 0 / 42.52 MB, free: 5.434 MB / 18.57 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001559/0.04901, allocations: 1.077 MB / 43.59 MB, free: 5.059 MB / 18.57 MB Notification: Performance of prepare postOptimizeDAE: time 7.7e-05/0.0491, allocations: 87.25 kB / 43.68 MB, free: 4.984 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.365e-05/0.04912, allocations: 4.125 kB / 43.68 MB, free: 4.984 MB / 18.57 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0018/0.05093, allocations: 441.1 kB / 44.11 MB, free: 4.605 MB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002153/0.05116, allocations: 79.83 kB / 44.19 MB, free: 4.527 MB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005738/0.05174, allocations: 0.7819 MB / 44.97 MB, free: 3.727 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002749/0.05202, allocations: 83.48 kB / 45.05 MB, free: 3.645 MB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.534e-05/0.0521, allocations: 39.98 kB / 45.09 MB, free: 3.605 MB / 18.57 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 26 ($PRE.'P1'.fireOut[1],'P1'.emptying,$PRE.'P3'.fireIn[1],'P3'.feeding,'P2'.outTransition[1].arcType,'P1'.outTransition[1].arcType,'P1'.fireOut[1],'T1'.activation.emptied[1],'T1'.activation.active,'T1'.activation.weaklyInputActiveVec[1],'T1'.activation.weaklyOutputActiveVec[1],$PRE.'P2'.fireIn[1],'P2'.fireIn[1],$PRE.'P2'.fireOut[1],'P2'.fireOut[1],'T2'.activation.fed[1],'T2'.activation.active,'T2'.activation.weaklyInputActiveVec[1],'T2'.activation.weaklyOutputActiveVec[1],'P3'.fireIn[1],'T1'.activation.arcType[1],'T2'.activation.arcType[1],'T2'.activation.emptied[1],'T1'.activation.fed[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.0004625/0.05257, allocations: 394.5 kB / 45.48 MB, free: 3.207 MB / 18.57 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.075e-05/0.05265, allocations: 40.38 kB / 45.52 MB, free: 3.168 MB / 18.57 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001483/0.05414, allocations: 1.045 MB / 46.56 MB, free: 2.105 MB / 18.57 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.756e-05/0.05418, allocations: 8 kB / 46.57 MB, free: 2.098 MB / 18.57 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.05419, allocations: 0.5625 kB / 46.57 MB, free: 2.098 MB / 18.57 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.514e-06/0.0542, allocations: 3.984 kB / 46.58 MB, free: 2.094 MB / 18.57 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01165/0.06585, allocations: 1.667 MB / 48.24 MB, free: 5.402 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.181e-05/0.06592, allocations: 5.062 kB / 48.25 MB, free: 5.402 MB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002407/0.06617, allocations: 44.8 kB / 48.29 MB, free: 5.402 MB / 18.57 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001074/0.06726, allocations: 343.4 kB / 48.63 MB, free: 5.395 MB / 18.57 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001068/0.06738, allocations: 24.38 kB / 48.65 MB, free: 5.395 MB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006747/0.06807, allocations: 0.8076 MB / 49.46 MB, free: 4.879 MB / 18.57 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/0.06808, allocations: 2.062 kB / 49.46 MB, free: 4.879 MB / 18.57 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002049/0.07014, allocations: 1.42 MB / 50.88 MB, free: 4.645 MB / 18.57 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001346/0.07029, allocations: 113.7 kB / 50.99 MB, free: 4.547 MB / 18.57 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.046e-05/0.07039, allocations: 23.03 kB / 51.01 MB, free: 4.539 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002314/0.07062, allocations: 46.88 kB / 51.06 MB, free: 4.535 MB / 18.57 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002537/0.07089, allocations: 120.1 kB / 51.18 MB, free: 4.508 MB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.524e-05/0.07096, allocations: 26.19 kB / 51.2 MB, free: 4.504 MB / 18.57 MB Notification: Performance of sorting global known variables: time 0.0001833/0.07115, allocations: 195.8 kB / 51.39 MB, free: 4.395 MB / 18.57 MB Notification: Performance of sort global known variables: time 2e-07/0.07116, allocations: 3.844 kB / 51.4 MB, free: 4.395 MB / 18.57 MB Notification: Performance of remove unused functions: time 0.0007095/0.07187, allocations: 242.7 kB / 51.63 MB, free: 4.273 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 (30): * Single equations (assignments): 27 * 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.00227/0.07415, allocations: 2.082 MB / 53.72 MB, free: 2.262 MB / 18.57 MB Notification: Performance of simCode: created initialization part: time 0.001344/0.07551, allocations: 0.968 MB / 54.68 MB, free: 1.289 MB / 18.57 MB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/0.07552, allocations: 0 / 54.68 MB, free: 1.289 MB / 18.57 MB Notification: Performance of simCode: created simulation system equations: time 0.0006268/0.07616, allocations: 0.564 MB / 55.25 MB, free: 0.7031 MB / 18.57 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004338/0.0766, allocations: 58.19 kB / 55.3 MB, free: 0.6445 MB / 18.57 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02055/0.09716, allocations: 5.913 MB / 61.22 MB, free: 2.301 MB / 18.57 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005947/0.09781, allocations: 1.016 MB / 62.23 MB, free: 7.652 MB / 24.96 MB Notification: Performance of simCode: alias equations: time 0.0002653/0.0981, allocations: 130.5 kB / 62.36 MB, free: 7.535 MB / 24.96 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002767/0.09839, allocations: 219.3 kB / 62.57 MB, free: 7.324 MB / 24.96 MB Notification: Performance of SimCode: time 1.182e-06/0.0984, allocations: 0 / 62.57 MB, free: 7.324 MB / 24.96 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04409/0.1425, allocations: 12.34 MB / 74.92 MB, free: 7.543 MB / 24.96 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001662/0.1427, allocations: 195.7 kB / 75.11 MB, free: 7.293 MB / 24.96 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.528/2.67, allocations: 0 / 75.11 MB, free: 7.293 MB / 24.96 MB (rm -f ConPNlib_ConPNlib.Examples.Test11.pipe ; mkfifo ConPNlib_ConPNlib.Examples.Test11.pipe ; head -c 1048576 < ConPNlib_ConPNlib.Examples.Test11.pipe >> ../files/ConPNlib_ConPNlib.Examples.Test11.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ConPNlib_ConPNlib_Examples_Test11_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ConPNlib_ConPNlib_Examples_Test11.fmu > ConPNlib_ConPNlib.Examples.Test11.pipe 2>&1)